コード例 #1
0
 /// <summary>
 /// Deep copy constructor. if need to copy the connection instance, you must call the Clone method. its sub
 /// class inherit from this, and need to provide more features.
 /// </summary>
 /// <param name="session">the session to get the opentable</param>
 /// <param name="treeconnect">the treeconnect to copy from</param>
 protected SmbClientTreeConnect(SmbClientSession session, SmbClientTreeConnect treeconnect)
     : base(treeconnect)
 {
     this.session = session;
     this.maximalShareAccessRights      = treeconnect.maximalShareAccessRights;
     this.guestMaximalShareAccessRights = treeconnect.guestMaximalShareAccessRights;
     this.connection = treeconnect.connection;
 }
コード例 #2
0
 /// <summary>
 /// Deep copy constructor. if need to copy the connection instance, you must call the Clone method. its sub 
 /// class inherit from this, and need to provide more features. 
 /// </summary>
 /// <param name="session">the session to get the opentable</param>
 /// <param name="treeconnect">the treeconnect to copy from</param>
 protected SmbClientTreeConnect(SmbClientSession session, SmbClientTreeConnect treeconnect)
     : base(treeconnect)
 {
     this.session = session;
     this.maximalShareAccessRights = treeconnect.maximalShareAccessRights;
     this.guestMaximalShareAccessRights = treeconnect.guestMaximalShareAccessRights;
     this.connection = treeconnect.connection;
 }
コード例 #3
0
 /// <summary>
 /// Deep copy constructor. if need to copy the connection instance, you must call the Clone method. its sub
 /// class inherit from this, and need to provide more features.
 /// </summary>
 protected SmbClientOpen(SmbClientOpen open)
     : base(open)
 {
     this.treeconnect = open.treeconnect;
     this.session     = open.session;
 }
コード例 #4
0
 /// <summary>
 /// Deep copy constructor. if need to copy the connection instance, you must call the Clone method. its sub 
 /// class inherit from this, and need to provide more features. 
 /// </summary>
 protected SmbClientOpen(SmbClientOpen open)
     : base(open)
 {
     this.treeconnect = open.treeconnect;
     this.session = open.session;
 }