/// <summary>
 /// Initializes a new instance of the OpenSessionRequest class.
 /// </summary>
 /// <param name="messageTag">Remote console message tag</param>
 /// <param name="maximumPrivilegeLevel">Maximum privilege level for this session.</param>
 /// <param name="remoteSessionId">Remote session ID.</param>
 internal OpenSessionRequest(byte messageTag, PrivilegeLevel maximumPrivilegeLevel, uint remoteSessionId, RmcpAuthentication authenticationAlgorithm, RmcpIntegrity integrityAlgorithm, RmcpConfidentiality confidentialityAlgorithm)
 {
     this.messageTag               = messageTag;
     this.maximumPrivilegeLevel    = maximumPrivilegeLevel;
     this.remoteSessionId          = remoteSessionId;
     this.authenticationAlgorithm  = Convert.ToByte(authenticationAlgorithm, CultureInfo.InvariantCulture);
     this.integrityAlgorithm       = Convert.ToByte(integrityAlgorithm, CultureInfo.InvariantCulture);
     this.confidentialityAlgorithm = Convert.ToByte(confidentialityAlgorithm, CultureInfo.InvariantCulture);
 }
 /// <summary>
 /// Initializes a new instance of the OpenSessionRequest class.
 /// </summary>
 /// <param name="messageTag">Remote console message tag</param>
 /// <param name="maximumPrivilegeLevel">Maximum privilege level for this session.</param>
 /// <param name="remoteSessionId">Remote session ID.</param>
 internal OpenSessionRequest(byte messageTag, PrivilegeLevel maximumPrivilegeLevel, uint remoteSessionId, RmcpAuthentication authenticationAlgorithm, RmcpIntegrity integrityAlgorithm, RmcpConfidentiality confidentialityAlgorithm)
 {
     this.messageTag = messageTag;
     this.maximumPrivilegeLevel = maximumPrivilegeLevel;
     this.remoteSessionId = remoteSessionId;
     this.authenticationAlgorithm = Convert.ToByte(authenticationAlgorithm, CultureInfo.InvariantCulture);
     this.integrityAlgorithm = Convert.ToByte(integrityAlgorithm, CultureInfo.InvariantCulture);
     this.confidentialityAlgorithm = Convert.ToByte(confidentialityAlgorithm, CultureInfo.InvariantCulture);
 }