Method GetBuild
- Namespace
- GuildWars2.Metadata
- Assembly
- GW2SDK.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
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(Build Value, MessageContext Context)>
A task that represents the API request.