A class wraps UInt16. This class is used especially for some optional integer fields. To set it null means not the field of this type will not present, or else it is present.
 /// <summary>
 /// Method to receive, decode and check client connection type and  color depth.
 /// </summary>
 public void ReceiveAndCheckClientCoreData()
 {
     this.networkConnectionType = rdpbcgrSessionContext.ClientNetworkConnectionType;
     this.supportedColorDepths = rdpbcgrSessionContext.supportedColorDepths;
     VerifyColorDepths();
 }