Method GetBuild
- Namespace
- GuildWars2.Metadata
- Assembly
- GuildWars2.dll
GetBuild(MissingMemberBehavior, CancellationToken)
Retrieves the latest build ID of the game client.
public Task<(Build Value, MessageContext Context)> GetBuild(MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(Build Value, MessageContext Context)>
A task that represents the API request.