Skip to content

Commit

Permalink
Bugfix for non-english Windows-Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrall committed Aug 8, 2020
1 parent 8208ef2 commit cb8a9bb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ protected override async Task WaitAndProcessAsync(
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
PipeSecurity pipeSecurity = new PipeSecurity();
PipeAccessRule psRule = new PipeAccessRule(@"Everyone", PipeAccessRights.FullControl, System.Security.AccessControl.AccessControlType.Allow);
SecurityIdentifier everyone = new SecurityIdentifier(WellKnownSidType.WorldSid, null);
PipeAccessRule psRule = new PipeAccessRule(everyone, PipeAccessRights.FullControl, System.Security.AccessControl.AccessControlType.Allow);
pipeSecurity.AddAccessRule(psRule);
using (var server = NamedPipeNative.CreateNamedPipe(_options.PipeName, (uint) _options.MaxConcurrentCalls, pipeSecurity))
{
Expand Down

0 comments on commit cb8a9bb

Please sign in to comment.