Skip to content

AxisDownloadTexts

Static class in Oadm.Sdk.Plugins · Oadm.Sdk.dll

The messages of AxisDownloadException (docs/spec/myaxis.md), one phrase each, for hosts and fakes.

public static class AxisDownloadTexts
static string NotDownloaded(string reason)

axis.com could not be reached or refused the file; reason is short (“no connection to axis.com”).

static bool SizeFits(long actual, long listed)

Whether actual bytes fit the size axis.com lists. The listings round it (“225.5M”), so the size may differ by 1 % (at least 64 KB); the SHA-256 is the exact check.

const string Expired = "Your MyAxis sign-in has expired. Sign in to MyAxis again. Nothing was changed."

axis.com no longer accepted the user’s sign-in; the host deleted it.

const string Mismatch = "The download did not match the checksum on axis.com. Nothing was changed."

The file had another size or SHA-256 than listed; nothing was kept.

const string SignIn = "Sign in to MyAxis to download from axis.com."

The user who started the task is not signed in to MyAxis.