private static string GetNamedPipeNameImplementation(string enlistmentRoot) { if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) { return(MacPlatform.GetNamedPipeNameImplementation(enlistmentRoot)); } // Not able to use WindowsPlatform here - because of its dependency on WindowsIdentity (and also kernel32.dll). return("GVFS_" + enlistmentRoot.ToUpper().Replace(':', '_')); }
public static string GetNamedPipeName(string enlistmentRoot) { return(MacPlatform.GetNamedPipeNameImplementation(enlistmentRoot)); }