Export (0) Print
Expand All

FrameworkName Class

Represents the name of a version of the .NET Framework.

System.Object
  System.Runtime.Versioning.FrameworkName

Namespace:  System.Runtime.Versioning
Assembly:  System (in System.dll)

[SerializableAttribute]
public sealed class FrameworkName : IEquatable<FrameworkName>

The FrameworkName type exposes the following members.

  NameDescription
Public methodFrameworkName(String)Initializes a new instance of the FrameworkName class from a string that contains information about a version of the .NET Framework.
Public methodFrameworkName(String, Version)Initializes a new instance of the FrameworkName class from a string and a Version object that identify a .NET Framework version.
Public methodFrameworkName(String, Version, String)Initializes a new instance of the FrameworkName class from a string, a Version object that identifies a .NET Framework version, and a profile name.
Top

  NameDescription
Public propertyFullNameGets the full name of this FrameworkName object.
Public propertyIdentifierGets the identifier of this FrameworkName object.
Public propertyProfileGets the profile name of this FrameworkName object.
Public propertyVersionGets the version of this FrameworkName object.
Top

  NameDescription
Public methodEquals(FrameworkName)Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified FrameworkName instance.
Public methodEquals(Object)Returns a value that indicates whether this FrameworkName instance represents the same .NET Framework version as a specified object. (Overrides Object.Equals(Object).)
Public methodGetHashCodeReturns the hash code for the FrameworkName object. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the string representation of this FrameworkName object. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityReturns a value that indicates whether two FrameworkName objects represent the same .NET Framework version.
Public operatorStatic memberInequalityReturns a value that indicates whether two FrameworkName objects represent different .NET Framework versions.
Top

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft