public string RewritePath(string path) { if (impersonator == null) return path; if (mdcCache == null) mdcCache = new MappedDriveConverter(); return mdcCache.ConvertPathToUnc(Configuration.Services.NetworkImpersonation.Domain, Configuration.Services.NetworkImpersonation.Username, path); }
public string RewritePath(string path) { if (impersonator == null) { return(path); } if (mdcCache == null) { mdcCache = new MappedDriveConverter(); } return(mdcCache.ConvertPathToUnc(Configuration.Services.NetworkImpersonation.Domain, Configuration.Services.NetworkImpersonation.Username, path)); }