1 <?xml version="1.0" encoding="utf-8"?><span>
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 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 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 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 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"></see> describes.</summary>
36 <returns>The name of the file described by this instance of <see cref="T:System.Diagnostics.FileVersionInfo"></see>.</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 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 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"></see> 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"></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>
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>
58 <returns>true if the file contains debugging information or is compiled with debugging features enabled; otherwise, false.</returns>
60 <member name="P:System.Diagnostics.FileVersionInfo.IsPatched">
61 <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>
62 <returns>true if the file is patched; otherwise, false.</returns>
64 <member name="P:System.Diagnostics.FileVersionInfo.IsPreRelease">
65 <summary>Gets a value that specifies whether the file is a development version, rather than a commercially released product.</summary>
66 <returns>true if the file is prerelease; otherwise, false.</returns>
68 <member name="P:System.Diagnostics.FileVersionInfo.IsPrivateBuild">
69 <summary>Gets a value that specifies whether the file was built using standard release procedures.</summary>
70 <returns>true if the file is a private build; false if the file was built using standard release procedures or if the file did not contain version information.</returns>
72 <member name="P:System.Diagnostics.FileVersionInfo.IsSpecialBuild">
73 <summary>Gets a value that specifies whether the file is a special build.</summary>
74 <returns>true if the file is a special build; otherwise, false.</returns>
76 <member name="P:System.Diagnostics.FileVersionInfo.Language">
77 <summary>Gets the default language string for the version info block.</summary>
78 <returns>The description string for the Microsoft Language Identifier in the version resource or null if the file did not contain version information.</returns>
80 <member name="P:System.Diagnostics.FileVersionInfo.LegalCopyright">
81 <summary>Gets all copyright notices that apply to the specified file.</summary>
82 <returns>The copyright notices that apply to the specified file.</returns>
84 <member name="P:System.Diagnostics.FileVersionInfo.LegalTrademarks">
85 <summary>Gets the trademarks and registered trademarks that apply to the file.</summary>
86 <returns>The trademarks and registered trademarks that apply to the file or null if the file did not contain version information.</returns>
88 <member name="P:System.Diagnostics.FileVersionInfo.OriginalFilename">
89 <summary>Gets the name the file was created with.</summary>
90 <returns>The name the file was created with or null if the file did not contain version information.</returns>
92 <member name="P:System.Diagnostics.FileVersionInfo.PrivateBuild">
93 <summary>Gets information about a private version of the file.</summary>
94 <returns>Information about a private version of the file or null if the file did not contain version information.</returns>
96 <member name="P:System.Diagnostics.FileVersionInfo.ProductBuildPart">
97 <summary>Gets the build number of the product this file is associated with.</summary>
98 <returns>A value representing the build number of the product this file is associated with or null if the file did not contain version information.</returns>
100 <member name="P:System.Diagnostics.FileVersionInfo.ProductMajorPart">
101 <summary>Gets the major part of the version number for the product this file is associated with.</summary>
102 <returns>A value representing the major part of the product version number or null if the file did not contain version information.</returns>
104 <member name="P:System.Diagnostics.FileVersionInfo.ProductMinorPart">
105 <summary>Gets the minor part of the version number for the product the file is associated with.</summary>
106 <returns>A value representing the minor part of the product version number or null if the file did not contain version information.</returns>
108 <member name="P:System.Diagnostics.FileVersionInfo.ProductName">
109 <summary>Gets the name of the product this file is distributed with.</summary>
110 <returns>The name of the product this file is distributed with or null if the file did not contain version information.</returns>
112 <member name="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart">
113 <summary>Gets the private part number of the product this file is associated with.</summary>
114 <returns>A value representing the private part number of the product this file is associated with or null if the file did not contain version information.</returns>
116 <member name="P:System.Diagnostics.FileVersionInfo.ProductVersion">
117 <summary>Gets the version of the product this file is distributed with.</summary>
118 <returns>The version of the product this file is distributed with or null if the file did not contain version information.</returns>
120 <member name="P:System.Diagnostics.FileVersionInfo.SpecialBuild">
121 <summary>Gets the special build information for the file.</summary>
122 <returns>The special build information for the file or null if the file did not contain version information.</returns>
124 <member name="M:System.Diagnostics.FileVersionInfo.ToString">
125 <summary>Returns a partial list of properties in the <see cref="T:System.Diagnostics.FileVersionInfo"></see> and their values.</summary>
126 <returns>A list of the following properties in this class and their values: <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>, <see cref="P:System.Diagnostics.FileVersionInfo.Language"></see>. If the file did not contain version information, this list will contain only the name of the requested file. Boolean values will be false, and all other entries will be null.</returns>