string[] sp= SerialPort.GetPortNames();
SerialPort sp1=new SerialPort(sp[0]);
bool status =sp1.IsOpen;
string[] sp= SerialPort.GetPortNames();
SerialPort sp1=new SerialPort(sp[0]);
bool status =sp1.IsOpen;
No comments:
Post a Comment
Post your comments here: