RandomEngy / PipeMethodCalls

Lightweight .NET Standard 2.0 library for method calls over named pipes for IPC. Supports two-way communication with callbacks.
https://www.nuget.org/packages/PipeMethodCalls
MIT License
145 stars 24 forks source link

Expose raw named pipe #5

Closed LukeLonas closed 4 years ago

LukeLonas commented 4 years ago

This set of changes focused on exposing the underlying "raw pipe." This is to enable more advanced use-cases. In testing, I've simply used this to print out the default security descriptor.

This is not a solution for setting pipe security, unfortunately. (I am in the process of working on a solution to it, however, and hope to create a PR for feedback)

Notes of how this was implemented: • The property is called PipeInstance on all types (Client, Server, and their respective Callback variants) • This property is get only • If the raw pipe doesn't yet exist; it will create it