Revision 42800be8 trunk/Pithos.ShellExtensions/PithosHost.cs
b/trunk/Pithos.ShellExtensions/PithosHost.cs | ||
---|---|---|
54 | 54 |
|
55 | 55 |
return new SettingsServiceClient(binding, remoteAddress); |
56 | 56 |
} |
57 |
|
|
58 |
public static CommandsServiceClient GetCommandsClient() |
|
59 |
{ |
|
60 |
EnsureHost(); |
|
61 |
|
|
62 |
var binding = new NetNamedPipeBinding(NetNamedPipeSecurityMode.None); |
|
63 |
var remoteAddress = new EndpointAddress("net.pipe://localhost/pithos/commands"); |
|
64 |
|
|
65 |
return new CommandsServiceClient(binding, remoteAddress); |
|
66 |
} |
|
67 |
|
|
68 |
|
|
57 | 69 |
} |
58 | 70 |
} |
Also available in: Unified diff