CompositeCommand IDrdaRequest.GetCommand() => new CompositeCommand( CodePoint.EXCSAT, EncodingEbcdic.GetParameter(CodePoint.EXTNAM, "derbydncmain"), EncodingEbcdic.GetParameter(CodePoint.SRVCLSNM, "SM/WIN32"), EncodingEbcdic.GetParameter(CodePoint.SRVNAM, "Derby"), EncodingEbcdic.GetParameter(CodePoint.SRVRLSLV, "SNC1009-/10.9.1.0 - (1344872)"), new ManagerLevels());
internal SecurityCheckResponse( ResponseMessage response) : base(response) { foreach (var parameter in response.Command) { switch (parameter) { case BytesParameter para when para.CodePoint == CodePoint.RDBNAM: RelationalDatabaseName = EncodingEbcdic.GetString(para.Value); break; } } }
internal ExchangeServerAttributesResponse( ResponseMessage response) : base(response) { foreach (var parameter in response.Command) { switch (parameter) { case BytesParameter para when para.CodePoint == CodePoint.MGRLVLLS: break; case BytesParameter para when para.CodePoint == CodePoint.EXTNAM: ExternalName = EncodingEbcdic.GetString(para.Value); break; } } }
CompositeCommand IDrdaRequest.GetCommand() => new CompositeCommand( CodePoint.ACCSEC, EncodingEbcdic.GetParameter(CodePoint.RDBNAM, WellKnownStrings.DatabaseName), new UInt16Parameter(CodePoint.SECMEC, 0x0003) // USRIDPWD );