Пример #1
0
        private static string GetNamedPipeNameImplementation(string enlistmentRoot)
        {
            if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
            {
                return(POSIXPlatform.GetNamedPipeNameImplementation(enlistmentRoot));
            }

            // Not able to use WindowsPlatform here - because of its dependency on WindowsIdentity (and also kernel32.dll).
            return("GVFS_" + enlistmentRoot.ToUpper().Replace(':', '_'));
        }
Пример #2
0
 public static string GetNamedPipeNameImplementation(string enlistmentRoot)
 {
     return(POSIXPlatform.GetNamedPipeNameImplementation(enlistmentRoot, DotGVFSRoot));
 }