1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Diagnostics.FileVersionInfo</name>
6 <member name="T:System.Diagnostics.FileVersionInfo">
7 <summary>Provides version information for a physical file on disk.</summary>
9 <member name="P:System.Diagnostics.FileVersionInfo.Comments">
10 <summary>Gets the comments associated with the file.</summary>
11 <returns>The comments associated with the file or <see langword="null"></see> if the file did not contain version information.</returns>
13 <member name="P:System.Diagnostics.FileVersionInfo.CompanyName">
14 <summary>Gets the name of the company that produced the file.</summary>
15 <returns>The name of the company that produced the file or <see langword="null"></see> if the file did not contain version information.</returns>
17 <member name="P:System.Diagnostics.FileVersionInfo.FileBuildPart">
18 <summary>Gets the build number of the file.</summary>
19 <returns>A value representing the build number of the file or <see langword="null"></see> if the file did not contain version information.</returns>
21 <member name="P:System.Diagnostics.FileVersionInfo.FileDescription">
22 <summary>Gets the description of the file.</summary>
23 <returns>The description of the file or <see langword="null"></see> if the file did not contain version information.</returns>
25 <member name="P:System.Diagnostics.FileVersionInfo.FileMajorPart">
26 <summary>Gets the major part of the version number.</summary>
27 <returns>A value representing the major part of the version number or 0 (zero) if the file did not contain version information.</returns>
29 <member name="P:System.Diagnostics.FileVersionInfo.FileMinorPart">
30 <summary>Gets the minor part of the version number of the file.</summary>
31 <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>
33 <member name="P:System.Diagnostics.FileVersionInfo.FileName">
34 <summary>Gets the name of the file that this instance of <see cref="T:System.Diagnostics.FileVersionInfo"></see> describes.</summary>
35 <returns>The name of the file described by this instance of <see cref="T:System.Diagnostics.FileVersionInfo"></see>.</returns>
37 <member name="P:System.Diagnostics.FileVersionInfo.FilePrivatePart">
38 <summary>Gets the file private part number.</summary>
39 <returns>A value representing the file private part number or <see langword="null"></see> if the file did not contain version information.</returns>
41 <member name="P:System.Diagnostics.FileVersionInfo.FileVersion">
42 <summary>Gets the file version number.</summary>
43 <returns>The version number of the file or <see langword="null"></see> if the file did not contain version information.</returns>
45 <member name="M:System.Diagnostics.FileVersionInfo.GetVersionInfo(System.String)">
46 <summary>Returns a <see cref="T:System.Diagnostics.FileVersionInfo"></see> representing the version information associated with the specified file.</summary>
47 <param name="fileName">The fully qualified path and name of the file to retrieve the version information for.</param>
48 <returns>A <see cref="T:System.Diagnostics.FileVersionInfo"></see> containing information about the file. If the file did not contain version information, the <see cref="T:System.Diagnostics.FileVersionInfo"></see> contains only the name of the file requested.</returns>
49 <exception cref="T:System.IO.FileNotFoundException">The file specified cannot be found.</exception>
51 <member name="P:System.Diagnostics.FileVersionInfo.InternalName">
52 <summary>Gets the internal name of the file, if one exists.</summary>
53 <returns>The internal name of the file. If none exists, this property will contain the original name of the file without the extension.</returns>
55 <member name="P:System.Diagnostics.FileVersionInfo.IsDebug">
56 <summary>Gets a value that specifies whether the file contains debugging information or is compiled with debugging features enabled.</summary>
57 <returns><see langword="true"></see> if the file contains debugging information or is compiled with debugging features enabled; otherwise, <see langword="false"></see>.</returns>
59 <member name="P:System.Diagnostics.FileVersionInfo.IsPatched">
60 <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>
61 <returns><see langword="true"></see> if the file is patched; otherwise, <see langword="false"></see>.</returns>
63 <member name="P:System.Diagnostics.FileVersionInfo.IsPreRelease">
64 <summary>Gets a value that specifies whether the file is a development version, rather than a commercially released product.</summary>
65 <returns><see langword="true"></see> if the file is prerelease; otherwise, <see langword="false"></see>.</returns>
67 <member name="P:System.Diagnostics.FileVersionInfo.IsPrivateBuild">
68 <summary>Gets a value that specifies whether the file was built using standard release procedures.</summary>
69 <returns><see langword="true"></see> if the file is a private build; <see langword="false"></see> if the file was built using standard release procedures or if the file did not contain version information.</returns>
71 <member name="P:System.Diagnostics.FileVersionInfo.IsSpecialBuild">
72 <summary>Gets a value that specifies whether the file is a special build.</summary>
73 <returns><see langword="true"></see> if the file is a special build; otherwise, <see langword="false"></see>.</returns>
75 <member name="P:System.Diagnostics.FileVersionInfo.Language">
76 <summary>Gets the default language string for the version info block.</summary>
77 <returns>The description string for the Microsoft Language Identifier in the version resource or <see langword="null"></see> if the file did not contain version information.</returns>
79 <member name="P:System.Diagnostics.FileVersionInfo.LegalCopyright">
80 <summary>Gets all copyright notices that apply to the specified file.</summary>
81 <returns>The copyright notices that apply to the specified file.</returns>
83 <member name="P:System.Diagnostics.FileVersionInfo.LegalTrademarks">
84 <summary>Gets the trademarks and registered trademarks that apply to the file.</summary>
85 <returns>The trademarks and registered trademarks that apply to the file or <see langword="null"></see> if the file did not contain version information.</returns>
87 <member name="P:System.Diagnostics.FileVersionInfo.OriginalFilename">
88 <summary>Gets the name the file was created with.</summary>
89 <returns>The name the file was created with or <see langword="null"></see> if the file did not contain version information.</returns>
91 <member name="P:System.Diagnostics.FileVersionInfo.PrivateBuild">
92 <summary>Gets information about a private version of the file.</summary>
93 <returns>Information about a private version of the file or <see langword="null"></see> if the file did not contain version information.</returns>
95 <member name="P:System.Diagnostics.FileVersionInfo.ProductBuildPart">
96 <summary>Gets the build number of the product this file is associated with.</summary>
97 <returns>A value representing the build number of the product this file is associated with or <see langword="null"></see> if the file did not contain version information.</returns>
99 <member name="P:System.Diagnostics.FileVersionInfo.ProductMajorPart">
100 <summary>Gets the major part of the version number for the product this file is associated with.</summary>
101 <returns>A value representing the major part of the product version number or <see langword="null"></see> if the file did not contain version information.</returns>
103 <member name="P:System.Diagnostics.FileVersionInfo.ProductMinorPart">
104 <summary>Gets the minor part of the version number for the product the file is associated with.</summary>
105 <returns>A value representing the minor part of the product version number or <see langword="null"></see> if the file did not contain version information.</returns>
107 <member name="P:System.Diagnostics.FileVersionInfo.ProductName">
108 <summary>Gets the name of the product this file is distributed with.</summary>
109 <returns>The name of the product this file is distributed with or <see langword="null"></see> if the file did not contain version information.</returns>
111 <member name="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart">
112 <summary>Gets the private part number of the product this file is associated with.</summary>
113 <returns>A value representing the private part number of the product this file is associated with or <see langword="null"></see> if the file did not contain version information.</returns>
115 <member name="P:System.Diagnostics.FileVersionInfo.ProductVersion">
116 <summary>Gets the version of the product this file is distributed with.</summary>
117 <returns>The version of the product this file is distributed with or <see langword="null"></see> if the file did not contain version information.</returns>
119 <member name="P:System.Diagnostics.FileVersionInfo.SpecialBuild">
120 <summary>Gets the special build information for the file.</summary>
121 <returns>The special build information for the file or <see langword="null"></see> if the file did not contain version information.</returns>
123 <member name="M:System.Diagnostics.FileVersionInfo.ToString">
124 <summary>Returns a partial list of properties in the <see cref="T:System.Diagnostics.FileVersionInfo"></see> and their values.</summary>
125 <returns>A list of the following properties in this class and their values:
126 <see cref="P:System.Diagnostics.FileVersionInfo.FileName"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.InternalName"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.OriginalFilename"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.FileVersion"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.FileDescription"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.ProductName"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.ProductVersion"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.IsDebug"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.IsPatched"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.IsPreRelease"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.IsPrivateBuild"></see>, <see cref="P:System.Diagnostics.FileVersionInfo.IsSpecialBuild"></see>,
127 <see cref="P:System.Diagnostics.FileVersionInfo.Language"></see>.
128 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"></see>, and all other entries will be <see langword="null"></see>.</returns>