Skip to main content

IValidVersionService

An interface in Alta.Platform, Alta.Platform.

Checks whether the game version is still allowed to play. ApplicationStartupManager runs it on startup; on Windows a fake always says yes.

Properties​

MemberWhat it is
int CurrentCode { get; }This build's version code. -1 in the Windows fake.
int LatestCode { get; }The newest version code known. -1 in the Windows fake.

Methods​

MemberWhat it is
Task<IResult> IsVersionValid()Checks the version. The Windows fake always returns success.

Used in​

Members of other types that take, return or hold a IValidVersionService: