![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | HazelcastClientNewHazelcastClient Method |
Creates a new hazelcast client using default configuration.
Namespace:
Hazelcast.Client
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic static IHazelcastInstance NewHazelcastClient()
Public Shared Function NewHazelcastClient As IHazelcastInstance
public:
static IHazelcastInstance^ NewHazelcastClient()
static member NewHazelcastClient : unit -> IHazelcastInstance
Return Value
Type:
IHazelcastInstanceIHazelcastInstance.
Remarks
Creates a new hazelcast client using default configuration.
Examplesvar hazelcastInstance = Hazelcast.NewHazelcastClient();
var myMap = hazelcastInstance.GetMap("myMap");
See Also