FileVersionInfo.SpecialBuild Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the special build information for the file.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public string SpecialBuild { get; }

Property Value

Type: System.String

The special build information for the file or null if the file did not contain version information.

If IsSpecialBuild is true, SpecialBuild must specify how this file differs from the standard version of the file.

The following example calls GetVersionInfo to get the FileVersionInfo for the Notepad. Then it prints the special build information in a text box. This code assumes textBox1 has been instantiated.

private void GetSpecialBuild()
    // Get the file version for the notepad.
    FileVersionInfo myFileVersionInfo =
        FileVersionInfo.GetVersionInfo(Environment.SystemDirectory + "\\Notepad.exe");

    // Print the special build information.
    textBox1.Text = "Special build information: " + myFileVersionInfo.SpecialBuild;

.NET Framework
Available since 1.1
Return to top