Inheritance: SmbComTransactionResponse
Example #1
0
 internal SmbQueryFileBasicInfo(Trans2QueryPathInformationResponse enclosing)
 {
     this._enclosing = enclosing;
 }
Example #2
0
 /// <exception cref="SharpCifs.Smb.SmbException"></exception>
 internal virtual IInfo QueryPath(string path, int infoLevel)
 {
     Connect0();
     if (Log.Level >= 3)
     {
         Log.WriteLine("queryPath: " + path);
     }
     if (Tree.Session.transport.HasCapability(SmbConstants.CapNtSmbs))
     {
         Trans2QueryPathInformationResponse response = new Trans2QueryPathInformationResponse
             (infoLevel);
         Send(new Trans2QueryPathInformation(path, infoLevel), response);
         return response.Info;
     }
     else
     {
         SmbComQueryInformationResponse response = new SmbComQueryInformationResponse(Tree
             .Session.transport.Server.ServerTimeZone * 1000 * 60L);
         Send(new SmbComQueryInformation(path), response);
         return response;
     }
 }
			internal SmbQueryFileBasicInfo(Trans2QueryPathInformationResponse enclosing)
			{
				this._enclosing = enclosing;
			}