mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
shortens unique id generation
This commit is contained in:
parent
d9d18cf846
commit
577776f30f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue