mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-01-19 04:56:43 +00: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_");
|
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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue