Exemplo n.º 1
0
 /// <summary>
 /// Disconnects the device using its CommManager.
 /// </summary>
 /// <param name="comm">The device's CommManager.</param>
 /// <exception cref="System.ArgumentNullException">The specified CommManager cannot be null.</exception>
 internal void Disconnect(CommManager comm)
 {
     if (comm == null)
     {
         throw new ArgumentNullException("The specified CommManager cannot be null.");
     }
     comm.Disconnect();
     comm = null;
 }