Skip to content

Commit

Permalink
Merge pull request jacqueskang#157 from jacqueskang/develop
Browse files Browse the repository at this point in the history
v3.0.5
  • Loading branch information
jacqueskang authored Aug 18, 2020
2 parents 8208ef2 + 34c26bd commit 59588f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/version.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
variables:
version: '3.0.4'
version: '3.0.5'
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.IO;
using System.IO.Pipes;
using System.Runtime.InteropServices;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;

Expand Down Expand Up @@ -38,7 +39,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 59588f3

Please sign in to comment.