/// <summary> /// Deep copy constructor. /// </summary> public SmbDeleteDirectoryResponsePacket(SmbDeleteDirectoryResponsePacket packet) : base(packet) { this.InitDefaultValue(); this.smbParameters.WordCount = packet.SmbParameters.WordCount; this.smbData.ByteCount = packet.SmbData.ByteCount; }
public SmbDeleteDirectoryResponsePacket CreateDeleteDirectoryResponse( CifsServerPerConnection connection, SmbDeleteDirectoryRequestPacket request) { SmbDeleteDirectoryResponsePacket response = new SmbDeleteDirectoryResponsePacket(); response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request); return response; }