Exemplo n.º 1
0
 /// <summary>
 /// SMB Tree constructor.
 /// </summary>
 /// <param name="smbShare">This is the resource which the client wants to connect.</param>
 /// <param name="treeId">This is used to indicate the share that the client is accessing.</param>
 /// <param name="sessionId">
 /// Set this value to 0 to request a new session setup, or set this value to a previously established session
 /// identifier to request the re-authentication of an existing session.
 /// </param>
 public SmbTree(int treeId, SmbShare smbShare, int sessionId)
 {
     this.treeId = treeId;
     this.smbShare = smbShare;
     this.sessionId = sessionId;
 }
Exemplo n.º 2
0
 /// <summary>
 /// SMB Tree constructor.
 /// </summary>
 /// <param name="smbShare">This is the resource which the client wants to connect.</param>
 /// <param name="treeId">This is used to indicate the share that the client is accessing.</param>
 /// <param name="sessionId">
 /// Set this value to 0 to request a new session setup, or set this value to a previously established session
 /// identifier to request the re-authentication of an existing session.
 /// </param>
 public SmbTree(int treeId, SmbShare smbShare, int sessionId)
 {
     this.treeId    = treeId;
     this.smbShare  = smbShare;
     this.sessionId = sessionId;
 }