Surprisingly, it works on the channels

This commit is contained in:
micialware committed 2025-05-02 20:15:04 +03:00
1 parent 557a52f24c
commit 23684d51de
9 files changed
+32 -19

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ class Program
Console.WriteLine(TransmissionConfig.OwnershipRepository.GetOwnershipId());
var context = builder.GetModule<RemoteContextRepository>();
var factory = context.GetSingleObject(typeof(IPrinterFactory), 0) as IPrinterFactory;
var factory = context.GetSingleObject(typeof(IPrinterFactory), -TransmissionConfig.OwnershipRepository.GetHostOwnershipId()) as IPrinterFactory;
using (var disposingPrinter = factory.Create("Test"))
{