internal static string GetAssemblyVersion()
{
if (sdkVersion == null)
{
var platformService = ServiceLocator.GetService<Services.IPlatformService>();
// SDK Name is expected to be lower case
sdkVersion = platformService.SdkName().ToLowerInvariant() + ":" + typeof(SdkVersionPropertyContextInitializer).GetTypeInfo().Assembly.GetCustomAttributes<AssemblyFileVersionAttribute>()
.First()
.Version;
}
return sdkVersion;
}
}