internal CifsRemoteAdmin(string sessionname, int prot, Share share, NbtSession nbt, SmbMessage packet) : base(sessionname, prot, share, nbt, packet) { }
/// <summary> /// Constructor /// </summary> /// <param name = "sessionname">String identfying the session</param> /// <param name = "protocol"></param> /// <param name = "share">Share object</param> /// <param name = "nbt">NetBIOS session</param> /// <param name = "msg">Message containing negotiated data</param> internal CifsSession(string sessionname, int protocol, Share share, NbtSession nbt, SmbMessage msg) { fShare = share; fNBTSession = nbt; fMsg = msg; fProtocol = protocol; SetNegotiatedData(msg); if (sessionname == null) fSessionName = "Session" + fSessionNameCounter++; else fSessionName = sessionname; }