Код: Выделить всё
SpRecordClientWClass spRCW = new SpRecordClientWClass();
spRCW.Connect(0, "", "");
Console.WriteLine(spRCW.Connected);
string deviceName = "";
spRCW.GetDeviceNames(out deviceName);
Console.WriteLine(deviceName);
string channelName = "";
spRCW.GetDeviceChannelNames(deviceName, 0, out channelName);
Console.WriteLine(channelName);