Hello,
Sorry if the question is silly but I can’t figure out how to use HardwareScan().
My goal is to scan an ip/user/pass and find out the driver number/path, which is required by AddHardware().
Here’s what I tried:
ServerTask scanTask = recordingServer.HardwareScan(ip, driverids, user, pass, false);
while (scanTask.State != StateEnum.Error && scanTask.State != StateEnum.Success)
{
System.Threading.Thread.Sleep(1000);
scanTask.UpdateState();
}
Console.WriteLine("Scan task: " + scanTask.State);
This “works” in the sense that the task completes successfully but I cannot find how to get the driver number out of scanTask.
Also what is the format of the “string hardwareDriverIds” parameter? It’s a string but if I separate the hardware numbers by a comma or a space there’s a parameter error. In the “HardwareScanServerTask HardwareScan()” overload HardwareScanServerTask actually uses a “Collection” which makes much more sense.
Kind regards,
Philippe