Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion csharp/Glacier2/Callback/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

// Create an Ice communicator. We'll use this communicator to create proxies, manage outgoing connections, and to create
// an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create a proxy to the Glacier2 router. The addressing information (transport, host and port number) is derived from
// the value of Glacier2.Client.Endpoints in the glacier2 router configuration file.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Glacier2/Callback/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("WakeUpAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Glacier2/Greeter/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create a proxy to the Glacier2 router. The addressing information (transport, host and port number) is derived from
// the value of Glacier2.Client.Endpoints in the glacier2 router configuration file.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Glacier2/Greeter/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Glacier2/Session/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
string userId = args.Length > 0 ? args[0] : Environment.UserName;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create a proxy to the Glacier2 router. The addressing information (transport, host, and port number) is derived from
// the value of Glacier2.Client.Endpoints in the glacier2 router configuration file.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Glacier2/Session/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("PokeAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Bidir/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// Create an Ice communicator. We'll use this communicator to create proxies, manage outgoing connections, and create
// an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter with no name and no configuration. This object adapter does not need to be activated.
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Bidir/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("WakeUpAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Callback/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// Create an Ice communicator. We'll use this communicator to create proxies, manage outgoing connections, and create
// an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
// Since we don't specify a port, the OS will choose an ephemeral port. This allows multiple client applications to
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Callback/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Create an Ice communicator. We'll use this communicator to create an object adapter, and to create proxies and
// manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("WakeUpAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Cancellation/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// GreeterPrx is a class generated by the Slice compiler. We create a proxy from a communicator and a "stringified
// proxy" with the address of the target object.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Cancellation/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Config/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
// The communicator gets its properties from the properties object.
await using Ice.Communicator communicator = Ice.Util.initialize(new Ice.InitializationData { properties = properties });
await using var communicator = new Ice.Communicator(new Ice.InitializationData { properties = properties });

// We create a Greeter proxy using the value of the Greeter.Proxy property in config.client.
// It's null if the property is not set.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Config/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// Create an Ice communicator. We'll use this communicator to create an object adapter.
// The communicator gets its properties from the properties object.
await using Ice.Communicator communicator = Ice.Util.initialize(new Ice.InitializationData { properties = properties });
await using var communicator = new Ice.Communicator(new Ice.InitializationData { properties = properties });

// Create an object adapter that listens for incoming requests and dispatches them to servants.
// This adapter is configured through the GreeterAdapter.* properties in config.server.
Expand Down
4 changes: 2 additions & 2 deletions csharp/Ice/Context/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Slice module VisitorCenter in Greeter.ice maps to C# namespace VisitorCenter.
using VisitorCenter;

// Set the Ice.ImplicitContext property to "Shared" before calling Ice.Util.initialize.
// Set the Ice.ImplicitContext property to "Shared" before calling Ice.Communicator constructor.
// This is only necessary for the implicit context API (see below).
var initData = new Ice.InitializationData
{
Expand All @@ -12,7 +12,7 @@
initData.properties.setProperty("Ice.ImplicitContext", "Shared");

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(initData);
await using var communicator = new Ice.Communicator(initData);

// Create a Greeter proxy. If you run the server on a different computer, replace localhost in the string below with
// the server's hostname or IP address.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Context/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/CustomError/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// GreeterPrx is a class generated by the Slice compiler. We create a proxy from a communicator and a "stringified
// proxy" with the address of the target object.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/CustomError/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Forwarder/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// We create a Greeter proxy for a Greeter object in the Forwarding server (port 10000).
GreeterPrx greeter = GreeterPrxHelper.createProxy(communicator, "greeter:tcp -h localhost -p 10000");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Forwarder/ForwardingServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Create an Ice communicator. We'll use this communicator to create an object adapter, and to create proxies and
// manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("ForwarderAdapter", "tcp -p 10000");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Forwarder/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Server;

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Greeter/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// GreeterPrx is a class generated by the Slice compiler. We create a proxy from a communicator and a "stringified
// proxy" with the address of the target object.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Greeter/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Greeter/ServerAMD/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Inheritance/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Diagnostics;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create a proxy for the root directory.
DirectoryPrx rootDir = DirectoryPrxHelper.createProxy(communicator, "RootDir:tcp -h localhost -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Inheritance/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Filesystem;

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("Filesystem", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Middleware/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create a Greeter proxy. If you run the server on a different computer, replace localhost in the string below with
// the server's hostname or IP address.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Middleware/Server/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("GreeterAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Optional/Client1/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Security.Cryptography; // for RandomNumberGenerator

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create a proxy to the weather station.
WeatherStationPrx weatherStation = WeatherStationPrxHelper.createProxy(
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Optional/Client2/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Security.Cryptography; // for RandomNumberGenerator

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create a proxy to the weather station.
WeatherStationPrx weatherStation = WeatherStationPrxHelper.createProxy(
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Optional/Server1/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("StationAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Optional/Server2/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) ZeroC, Inc.

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create an object adapter that listens for incoming requests and dispatches them to servants.
Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("StationAdapter", "tcp -p 4061");
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Secure/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
initData.clientAuthenticationOptions = clientAuthenticationOptions;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(initData);
await using var communicator = new Ice.Communicator(initData);

// GreeterPrx is a class generated by the Slice compiler. We create a proxy from a communicator and a "stringified
// proxy" with the address of the target object. We specify an ssl endpoint to use the SSL transport.
Expand Down
2 changes: 1 addition & 1 deletion csharp/Ice/Secure/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Security.Cryptography.X509Certificates;

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Create the authentication options using the test server certificate included with the demos.
var sslAuthenticationOptions = new SslServerAuthenticationOptions
Expand Down
2 changes: 1 addition & 1 deletion csharp/IceBox/Greeter/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// GreeterPrx is a class generated by the Slice compiler. We create a proxy from a communicator and a "stringified
// proxy" with the address of the target object.
Expand Down
2 changes: 1 addition & 1 deletion csharp/IceDiscovery/Greeter/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
};

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(initData);
await using var communicator = new Ice.Communicator(initData);

// Create a proxy to the Greeter object hosted by the server. "greeter" is a stringified proxy with no addressing
// information, also known as a well-known proxy. It's resolved by the default locator installed by the IceDiscovery
Expand Down
2 changes: 1 addition & 1 deletion csharp/IceDiscovery/Greeter/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
initData.properties.setProperty("GreeterAdapter.Endpoints", "tcp");

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(initData);
await using var communicator = new Ice.Communicator(initData);

// Create an object adapter that listens for incoming requests and dispatches them to servants. "GreeterAdapter" is a
// key into the configuration properties set above.
Expand Down
2 changes: 1 addition & 1 deletion csharp/IceDiscovery/Replication/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
};

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(initData);
await using var communicator = new Ice.Communicator(initData);

// Create a proxy to the Greeter object hosted by the server. "greeter" is a stringified proxy with no addressing
// information, also known as a well-known proxy. It's resolved by the default locator installed by the IceDiscovery
Expand Down
2 changes: 1 addition & 1 deletion csharp/IceDiscovery/Replication/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
initData.properties.setProperty("GreeterAdapter.Endpoints", "tcp");

// Create an Ice communicator. We'll use this communicator to create an object adapter.
await using Ice.Communicator communicator = Ice.Util.initialize(initData);
await using var communicator = new Ice.Communicator(initData);

// Create an object adapter that listens for incoming requests and dispatches them to servants. "GreeterAdapter" is a
// key into the configuration properties set above.
Expand Down
2 changes: 1 addition & 1 deletion csharp/IceGrid/Greeter/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using VisitorCenter;

// Create an Ice communicator. We'll use this communicator to create proxies and manage outgoing connections.
await using Ice.Communicator communicator = Ice.Util.initialize(ref args);
await using var communicator = new Ice.Communicator(ref args);

// Set the default locator of the new communicator. It's the address of the Locator hosted by our IceGrid registry.
// You can also set this proxy with the Ice.Default.Locator property.
Expand Down
Loading
Loading