/// <summary>
 /// Deep copy constructor.
 /// </summary>
 public SmbNtTransactSetSecurityDescResponsePacket(SmbNtTransactSetSecurityDescResponsePacket packet)
     : base(packet)
 {
     this.InitDefaultValue();
 }
예제 #2
0
 /// <summary>
 /// Deep copy constructor.
 /// </summary>
 public SmbNtTransactSetSecurityDescResponsePacket(SmbNtTransactSetSecurityDescResponsePacket packet)
     : base(packet)
 {
     this.InitDefaultValue();
 }
        public SmbNtTransactSetSecurityDescResponsePacket CreateNtTransactSetSecurityDescResponse(
            CifsServerPerConnection connection,
            SmbNtTransactSetSecurityDescRequestPacket request)
        {
            SmbNtTransactSetSecurityDescResponsePacket response = new SmbNtTransactSetSecurityDescResponsePacket();
            response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request);

            response.UpdateCountAndOffset();

            return response;
        }