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