Sitecore 5.1.1 API

MainUtil.GetDotNetFolder Method 

Gets the root folder of the current .NET Framework.

[Visual Basic]
Public Shared Function GetDotNetFolder() As String
[C#]
public static string GetDotNetFolder();

Return Value

The path to the root folder of the current .NET Framework.

Example

  string version = MainUtil.GetDotNetFolder();

See Also

MainUtil Class | Sitecore Namespace