H.ProxyFactory.Pipes 0.8.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package H.ProxyFactory.Pipes --version 0.8.2
NuGet\Install-Package H.ProxyFactory.Pipes -Version 0.8.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="H.ProxyFactory.Pipes" Version="0.8.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add H.ProxyFactory.Pipes --version 0.8.2
#r "nuget: H.ProxyFactory.Pipes, 0.8.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install H.ProxyFactory.Pipes as a Cake Addin
#addin nuget:?package=H.ProxyFactory.Pipes&version=0.8.2

// Install H.ProxyFactory.Pipes as a Cake Tool
#tool nuget:?package=H.ProxyFactory.Pipes&version=0.8.2


Language License Requirements Build Status

Allows you to interact with remote objects. You will have access to an interface through which you will interact with the object created on the server.


  • Create proxy objects that look exactly like the original objects
  • Proxy target can be located anywhere where there is access to pipes



Install-Package H.ProxyFactory.Pipes


Shared code:

public interface ISimpleEventClass
    event EventHandler<int> Event1;
    string Method2(string input);

public class SimpleEventClass : ISimpleEventClass
    public event EventHandler<int>? Event1;

    public void RaiseEvent1()
        Event1?.Invoke(this, 777);

    public string Method2(string input)
        return $"Hello, input = {input}";


await using var server = new PipeProxyServer();

await server.InitializeAsync("UniquePipeServerName");


await using var factory = new PipeProxyFactory();

await factory.InitializeAsync("UniquePipeServerName");

// If the server does not use the library where the shared code is located, it must be loaded.
await factory.LoadAssemblyAsync(typeof(SimpleEventClass).Assembly.Location);

// You will have access to an interface through which you will interact with the object created on the server.
var instance = await factory.CreateInstanceAsync<ISimpleEventClass>(
    typeof(SimpleEventClass).FullName ?? string.Empty);
instance.Event1 += (_, args) =>
    WriteLine($"{nameof(instance.Event1)}: {args}");
var result = Instance.Method2("argument");



Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on H.ProxyFactory.Pipes:

Package Downloads

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.8.7 1,050 1/18/2022
0.8.6 784 11/29/2021
0.8.4 742 11/27/2021
0.8.2 813 10/29/2021
0.7.4 8,383 12/10/2020 887 12/9/2020
0.7.3 1,379 12/8/2020
0.7.2 1,146 12/8/2020
0.7.1 1,304 12/8/2020 1,259 11/25/2020

⭐ Last 10 features:
- feat: Implemented safe CreateObjectAsync. 2021-10-30
- feat: Added try catch to example app. 2021-10-30
- feat: Added CLSCompliant(true). 2021-10-30
- feat: to auto-releases. 2021-10-29
- feat: Implemented example WPF app. 2021-10-29
- feat: Added empty wpf app. 2021-10-29
- feat: To file-scope namespaces. 2021-10-29
- feat: To net6.0 and C# 10. 2021-10-29

🐞 Last 10 bug fixes:
- fix: Changed CI build to windows-latest. 2021-10-30
- fix: Added Factory.LoadAssemblyAsync to example app. 2021-10-30
- fix: Fixed H.ProxyFactory.Pipes warnings. 2021-10-30
- fix: Fixed H.ProxyFactory warnings. 2021-10-30