Hi guys i have Teamviewer installed and would like to be able to ping Teamviewer ID's and get a response of the status of that PC.
try
{
    string accessToken = "xxxxxxxxxxxxxxxxxxxx";
    string Version = "v1";
    string tvApiUrl = "https://webapi.teamviewer.com";
    string address = tvApiUrl + "/api/" + Version + "/various commands from API";
    HttpWebRequest request = WebRequest.Create(address) as HttpWebRequest;
    request.Headers.Set("Authorization", "Bearer " + accessToken);
    request.Method = "GET";
    WebResponse response = request.GetResponse();
    return response;
}
catch (Exception ex) 
{
    MessageBox.Show("Failed to get request with error: " + ex.Message);
    return null;
}
this wont work because I haven't found anything related to the remote list of computers i have in Teamviewer. I want a way to check if the PC's in my Teamviewer list have internet programmatically. Thanks in advance
 
                        
This can be achieved using the TeamViewer API.
Have a look at the documentation under "3.10 Devices":
GET /api/v1/devices (list all devices from the computers & contacts list)
Parameters
Return values
Authentication
Request
Response