Table of Contents

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

identifier string

The unique identifier used to communicate with the agent client.

Returns

IMaaAgentServer

Remarks

Uses this method before MaaFramework.Binding.IMaaAgentServer.StartUp; otherwise, throws an System.InvalidOperationException.

Exceptions

InvalidOperationException

MaaAgentServer has started up.