// // Converts an ipc URL to a unix URL. // Returns the URL unchanged if it was not ipc. // internal static string IpcToUnix(string url) { if (url == null) { return(null); } string portName; string objectUri; LocalIpcChannelHelper.Parse(url, out portName, out objectUri); if (objectUri != null) { url = "unix://" + Path.Combine(Path.GetTempPath(), portName) + "?" + objectUri; } return(url); }
public string Parse(string url, out string objectUri) { return(LocalIpcChannelHelper.Parse(url, out objectUri)); }