shortens unique id generation

This commit is contained in:
Ibrahim Islam 2020-10-20 06:31:01 +07:00
parent d9d18cf846
commit 577776f30f

View file

@ -8,7 +8,7 @@ static class PipeHelpers
{
static readonly string PipePrefix = Path.Combine(Path.GetTempPath(), "CoreFxPipe_");
public static string GetUnqiuePipeName() => "FFMpegCore_" + Guid.NewGuid();
public static string GetUnqiuePipeName() => "FFMpegCore_" + Guid.NewGuid("N").Substring(0, 5);
public static string GetPipePath(string pipeName)
{