shortens unique id generation

Former-commit-id: 577776f30f
This commit is contained in:
Ibrahim Islam 2020-10-20 06:31:01 +07:00
parent 599e9aa99b
commit 3fd637e44c

View file

@ -8,7 +8,7 @@ static class PipeHelpers
{ {
static readonly string PipePrefix = Path.Combine(Path.GetTempPath(), "CoreFxPipe_"); 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) public static string GetPipePath(string pipeName)
{ {