Increase length of pipe name to make collisions less likely

This commit is contained in:
Matthias Reitinger 2023-11-30 17:23:25 +01:00
parent eb221c3e49
commit ef2b4be7c4

View file

@ -4,7 +4,7 @@ namespace FFMpegCore.Pipes
{ {
internal static class PipeHelpers internal static class PipeHelpers
{ {
public static string GetUnqiuePipeName() => $"FFMpegCore_{Guid.NewGuid().ToString("N").Substring(0, 5)}"; public static string GetUnqiuePipeName() => $"FFMpegCore_{Guid.NewGuid().ToString("N").Substring(16, 16)}";
public static string GetPipePath(string pipeName) public static string GetPipePath(string pipeName)
{ {