1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Diagnostics.FileVersionInfo</name>
7 <member name="T:System.Diagnostics.FileVersionInfo">
8 <summary>Provides version information for a physical file on disk.</summary>
10 <member name="P:System.Diagnostics.FileVersionInfo.Comments">
11 <summary>Gets the comments associated with the file.</summary>
12 <returns>The comments associated with the file or <see langword="null" /> if the file did not contain version information.</returns>
14 <member name="P:System.Diagnostics.FileVersionInfo.CompanyName">
15 <summary>Gets the name of the company that produced the file.</summary>
16 <returns>The name of the company that produced the file or <see langword="null" /> if the file did not contain version information.</returns>
18 <member name="P:System.Diagnostics.FileVersionInfo.FileBuildPart">
19 <summary>Gets the build number of the file.</summary>
20 <returns>A value representing the build number of the file or <see langword="null" /> if the file did not contain version information.</returns>
22 <member name="P:System.Diagnostics.FileVersionInfo.FileDescription">
23 <summary>Gets the description of the file.</summary>
24 <returns>The description of the file or <see langword="null" /> if the file did not contain version information.</returns>
26 <member name="P:System.Diagnostics.FileVersionInfo.FileMajorPart">
27 <summary>Gets the major part of the version number.</summary>
28 <returns>A value representing the major part of the version number or 0 (zero) if the file did not contain version information.</returns>
30 <member name="P:System.Diagnostics.FileVersionInfo.FileMinorPart">
31 <summary>Gets the minor part of the version number of the file.</summary>
32 <returns>A value representing the minor part of the version number of the file or 0 (zero) if the file did not contain version information.</returns>
34 <member name="P:System.Diagnostics.FileVersionInfo.FileName">
35 <summary>Gets the name of the file that this instance of <see cref="T:System.Diagnostics.FileVersionInfo" /> describes.</summary>
36 <returns>The name of the file described by this instance of <see cref="T:System.Diagnostics.FileVersionInfo" />.</returns>
38 <member name="P:System.Diagnostics.FileVersionInfo.FilePrivatePart">
39 <summary>Gets the file private part number.</summary>
40 <returns>A value representing the file private part number or <see langword="null" /> if the file did not contain version information.</returns>
42 <member name="P:System.Diagnostics.FileVersionInfo.FileVersion">
43 <summary>Gets the file version number.</summary>
44 <returns>The version number of the file or <see langword="null" /> if the file did not contain version information.</returns>
46 <member name="M:System.Diagnostics.FileVersionInfo.GetVersionInfo(System.String)">
47 <summary>Returns a <see cref="T:System.Diagnostics.FileVersionInfo" /> representing the version information associated with the specified file.</summary>
48 <param name="fileName">The fully qualified path and name of the file to retrieve the version information for.</param>
49 <returns>A <see cref="T:System.Diagnostics.FileVersionInfo" /> containing information about the file. If the file did not contain version information, the <see cref="T:System.Diagnostics.FileVersionInfo" /> contains only the name of the file requested.</returns>
50 <exception cref="T:System.IO.FileNotFoundException">The file specified cannot be found.</exception>
52 <member name="P:System.Diagnostics.FileVersionInfo.InternalName">
53 <summary>Gets the internal name of the file, if one exists.</summary>
54 <returns>The internal name of the file. If none exists, this property will contain the original name of the file without the extension.</returns>
56 <member name="P:System.Diagnostics.FileVersionInfo.IsDebug">
57 <summary>Gets a value that specifies whether the file contains debugging information or is compiled with debugging features enabled.</summary>
59 <see langword="true" /> if the file contains debugging information or is compiled with debugging features enabled; otherwise, <see langword="false" />.</returns>
61 <member name="P:System.Diagnostics.FileVersionInfo.IsPatched">
62 <summary>Gets a value that specifies whether the file has been modified and is not identical to the original shipping file of the same version number.</summary>
64 <see langword="true" /> if the file is patched; otherwise, <see langword="false" />.</returns>
66 <member name="P:System.Diagnostics.FileVersionInfo.IsPreRelease">
67 <summary>Gets a value that specifies whether the file is a development version, rather than a commercially released product.</summary>
69 <see langword="true" /> if the file is prerelease; otherwise, <see langword="false" />.</returns>
71 <member name="P:System.Diagnostics.FileVersionInfo.IsPrivateBuild">
72 <summary>Gets a value that specifies whether the file was built using standard release procedures.</summary>
74 <see langword="true" /> if the file is a private build; <see langword="false" /> if the file was built using standard release procedures or if the file did not contain version information.</returns>
76 <member name="P:System.Diagnostics.FileVersionInfo.IsSpecialBuild">
77 <summary>Gets a value that specifies whether the file is a special build.</summary>
79 <see langword="true" /> if the file is a special build; otherwise, <see langword="false" />.</returns>
81 <member name="P:System.Diagnostics.FileVersionInfo.Language">
82 <summary>Gets the default language string for the version info block.</summary>
83 <returns>The description string for the Microsoft Language Identifier in the version resource or <see langword="null" /> if the file did not contain version information.</returns>
85 <member name="P:System.Diagnostics.FileVersionInfo.LegalCopyright">
86 <summary>Gets all copyright notices that apply to the specified file.</summary>
87 <returns>The copyright notices that apply to the specified file.</returns>
89 <member name="P:System.Diagnostics.FileVersionInfo.LegalTrademarks">
90 <summary>Gets the trademarks and registered trademarks that apply to the file.</summary>
91 <returns>The trademarks and registered trademarks that apply to the file or <see langword="null" /> if the file did not contain version information.</returns>
93 <member name="P:System.Diagnostics.FileVersionInfo.OriginalFilename">
94 <summary>Gets the name the file was created with.</summary>
95 <returns>The name the file was created with or <see langword="null" /> if the file did not contain version information.</returns>
97 <member name="P:System.Diagnostics.FileVersionInfo.PrivateBuild">
98 <summary>Gets information about a private version of the file.</summary>
99 <returns>Information about a private version of the file or <see langword="null" /> if the file did not contain version information.</returns>
101 <member name="P:System.Diagnostics.FileVersionInfo.ProductBuildPart">
102 <summary>Gets the build number of the product this file is associated with.</summary>
103 <returns>A value representing the build number of the product this file is associated with or <see langword="null" /> if the file did not contain version information.</returns>
105 <member name="P:System.Diagnostics.FileVersionInfo.ProductMajorPart">
106 <summary>Gets the major part of the version number for the product this file is associated with.</summary>
107 <returns>A value representing the major part of the product version number or <see langword="null" /> if the file did not contain version information.</returns>
109 <member name="P:System.Diagnostics.FileVersionInfo.ProductMinorPart">
110 <summary>Gets the minor part of the version number for the product the file is associated with.</summary>
111 <returns>A value representing the minor part of the product version number or <see langword="null" /> if the file did not contain version information.</returns>
113 <member name="P:System.Diagnostics.FileVersionInfo.ProductName">
114 <summary>Gets the name of the product this file is distributed with.</summary>
115 <returns>The name of the product this file is distributed with or <see langword="null" /> if the file did not contain version information.</returns>
117 <member name="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart">
118 <summary>Gets the private part number of the product this file is associated with.</summary>
119 <returns>A value representing the private part number of the product this file is associated with or <see langword="null" /> if the file did not contain version information.</returns>
121 <member name="P:System.Diagnostics.FileVersionInfo.ProductVersion">
122 <summary>Gets the version of the product this file is distributed with.</summary>
123 <returns>The version of the product this file is distributed with or <see langword="null" /> if the file did not contain version information.</returns>
125 <member name="P:System.Diagnostics.FileVersionInfo.SpecialBuild">
126 <summary>Gets the special build information for the file.</summary>
127 <returns>The special build information for the file or <see langword="null" /> if the file did not contain version information.</returns>
129 <member name="M:System.Diagnostics.FileVersionInfo.ToString">
130 <summary>Returns a partial list of properties in the <see cref="T:System.Diagnostics.FileVersionInfo" /> and their values.</summary>
131 <returns>A list of the following properties in this class and their values:
132 <see cref="P:System.Diagnostics.FileVersionInfo.FileName" />, <see cref="P:System.Diagnostics.FileVersionInfo.InternalName" />, <see cref="P:System.Diagnostics.FileVersionInfo.OriginalFilename" />, <see cref="P:System.Diagnostics.FileVersionInfo.FileVersion" />, <see cref="P:System.Diagnostics.FileVersionInfo.FileDescription" />, <see cref="P:System.Diagnostics.FileVersionInfo.ProductName" />, <see cref="P:System.Diagnostics.FileVersionInfo.ProductVersion" />, <see cref="P:System.Diagnostics.FileVersionInfo.IsDebug" />, <see cref="P:System.Diagnostics.FileVersionInfo.IsPatched" />, <see cref="P:System.Diagnostics.FileVersionInfo.IsPreRelease" />, <see cref="P:System.Diagnostics.FileVersionInfo.IsPrivateBuild" />, <see cref="P:System.Diagnostics.FileVersionInfo.IsSpecialBuild" />,
133 <see cref="P:System.Diagnostics.FileVersionInfo.Language" />.
134 If the file did not contain version information, this list will contain only the name of the requested file. Boolean values will be <see langword="false" />, and all other entries will be <see langword="null" />.</returns>