System.Runtime.Versioning.SupportedOSPlatformGuardAttribute sealed class SupportedOSPlatformGuardAttribute : OSPlatformAttribute Documentation Code public SupportedOSPlatformGuardAttribute(string platformName)