Exemplo n.º 1
0
 public unsafe void GetCommConfig()
 {
     using (SafeFileHandle handle = Communications.CreateComPortFileHandle(@"\\.\COM4"))
     {
         CommunicationsConfig config = Communications.GetCommunicationsConfig(handle);
     }
 }