Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/havendv/namedpipeserverstream.netframeworkversion
.NET Standard version of NamedPipeServerStream that contains PipeSecurity constructor.
https://github.com/havendv/namedpipeserverstream.netframeworkversion
access-control csharp dotnet ipc namedpipeserverstream netstandard netstandard20 pipes pipesecurity security serverstream system windows
Last synced: 5 days ago
JSON representation
.NET Standard version of NamedPipeServerStream that contains PipeSecurity constructor.
- Host: GitHub
- URL: https://github.com/havendv/namedpipeserverstream.netframeworkversion
- Owner: HavenDV
- License: mit
- Created: 2021-10-21T23:51:17.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T03:51:50.000Z (about 1 month ago)
- Last Synced: 2024-11-01T13:42:03.765Z (12 days ago)
- Topics: access-control, csharp, dotnet, ipc, namedpipeserverstream, netstandard, netstandard20, pipes, pipesecurity, security, serverstream, system, windows
- Language: C#
- Homepage:
- Size: 205 KB
- Stars: 5
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# [NamedPipeServerStream.NetFrameworkVersion](https://github.com/HavenDV/NamedPipeServerStream.NetFrameworkVersion/)
[![Language](https://img.shields.io/badge/language-C%23-blue.svg?style=flat-square)](https://github.com/HavenDV/NamedPipeServerStream.NetFrameworkVersion/search?l=C%23&o=desc&s=&type=Code)
[![License](https://img.shields.io/github/license/HavenDV/NamedPipeServerStream.NetFrameworkVersion.svg?label=License&maxAge=86400)](LICENSE.md)
[![Requirements](https://img.shields.io/badge/Requirements-.NET%20Standard%202.0-blue.svg)](https://github.com/dotnet/standard/blob/master/docs/versions/netstandard2.0.md)
[![Build Status](https://github.com/HavenDV/NamedPipeServerStream.NetFrameworkVersion/actions/workflows/dotnet.yml/badge.svg)](https://github.com/HavenDV/NamedPipeServerStream.NetFrameworkVersion/actions/workflows/dotnet.yml)Features:
- Completely repeats constructor behavior from .Net Framework (including exceptions)
- Has a strong name
- Restored from decompiled code. No changes from the original
- Official dependencies only
- Tested## Nuget
[![NuGet](https://img.shields.io/nuget/dt/NamedPipeServerStream.NetFrameworkVersion.svg?style=flat-square&label=NamedPipeServerStream.NetFrameworkVersion)](https://www.nuget.org/packages/NamedPipeServerStream.NetFrameworkVersion/)
```
Install-Package NamedPipeServerStream.NetFrameworkVersion
```## Usage
```csharp
using System.IO.Pipes;var pipeSecurity = new PipeSecurity();
pipeSecurity.AddAccessRule(new PipeAccessRule(new SecurityIdentifier(WellKnownSidType.BuiltinUsersSid, null), PipeAccessRights.ReadWrite, AccessControlType.Allow));using var serverStream = NamedPipeServerStreamConstructors.New(pipeName, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.Asynchronous | PipeOptions.WriteThrough, 0, 0, pipeSecurity);
```## Contacts
* [mail](mailto:[email protected])