Method WithIdentifier
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
WithIdentifier(string)
Configures the unique identifier used to communicate with the agent client.
IMaaAgentServer WithIdentifier(string identifier)Parameters
identifierstring-
The unique identifier used to communicate with the agent client.
Returns
Remarks
Uses this method before MaaFramework.Binding.IMaaAgentServer.StartUp; otherwise, throws an System.InvalidOperationException.
Exceptions
- InvalidOperationException
-
MaaAgentServer has started up.