1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="FileVersionInfo" FullName="System.Diagnostics.FileVersionInfo">
3 <TypeSignature Language="C#" Value="public sealed class FileVersionInfo" Maintainer="auto" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit FileVersionInfo extends System.Object" />
6 <AssemblyName>System</AssemblyName>
7 <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
8 <AssemblyVersion>1.0.3300.0</AssemblyVersion>
9 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
10 <AssemblyVersion>2.0.0.0</AssemblyVersion>
11 <AssemblyVersion>4.0.0.0</AssemblyVersion>
13 <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
15 <BaseTypeName>System.Object</BaseTypeName>
20 <attribution license="cc4" from="Microsoft" modified="false" />
21 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A file version number is a 64-bit number that holds the version number for a file as follows: </para>
24 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMajorPart" /> number.</para>
27 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMinorPart" /> number.</para>
30 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileBuildPart" /> number.</para>
33 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FilePrivatePart" /> number.</para>
36 <para>Use the <see cref="M:System.Diagnostics.FileVersionInfo.GetVersionInfo(System.String)" /> method of this class to get a <see cref="T:System.Diagnostics.FileVersionInfo" /> containing information about a file, then look at the properties for information about the file. The <see cref="P:System.Diagnostics.FileVersionInfo.FileVersion" /> property provides version information about the file. The <see cref="P:System.Diagnostics.FileVersionInfo.ProductMajorPart" />, <see cref="P:System.Diagnostics.FileVersionInfo.ProductMinorPart" />, <see cref="P:System.Diagnostics.FileVersionInfo.ProductBuildPart" />, <see cref="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart" />, and <see cref="P:System.Diagnostics.FileVersionInfo.ProductVersion" /> properties provide version information for the product that the specified file is a part of. Call <see cref="M:System.Diagnostics.FileVersionInfo.ToString" /> to get a partial list of properties and their values for this file.</para>
37 <para>The <see cref="T:System.Diagnostics.FileVersionInfo" /> properties are based on version resource information built into the file. Version resources are often built into binary files such as .exe or .dll files; text files do not have version resource information.</para>
38 <para>Version resources are typically specified in a Win32 resource file, or in assembly attributes. For example the <see cref="P:System.Diagnostics.FileVersionInfo.IsDebug" /> property reflects the VS_FF_DEBUG flag value in the file's VS_FIXEDFILEINFO block, which is built from the VERSIONINFO resource in a Win32 resource file. For more information about specifying version resources in a Win32 resource file, see "About Resource Files" and "VERSIONINFO Resource" in the Platform SDK. For more information about specifying version resources in a .NET module, see the <format type="text/html"><a href="36a98a81-b5b5-4c19-912a-11f91eff7f4e">Setting Assembly Attributes</a></format> topic.</para>
39 <block subset="none" type="note">
40 <para>This class makes a link demand at the class level that applies to all members. A <see cref="T:System.Security.SecurityException" /> is thrown when the immediate caller does not have full trust permission. For details about link demands, see <format type="text/html"><a href="a33fd5f9-2de9-4653-a4f0-d9df25082c4d">Link Demands</a></format>.</para>
45 <attribution license="cc4" from="Microsoft" modified="false" />
46 <para>Provides version information for a physical file on disk.</para>
50 <Member MemberName="Comments">
51 <MemberSignature Language="C#" Value="public string Comments { get; }" />
52 <MemberSignature Language="ILAsm" Value=".property instance string Comments" />
53 <MemberType>Property</MemberType>
55 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
56 <AssemblyVersion>2.0.0.0</AssemblyVersion>
57 <AssemblyVersion>4.0.0.0</AssemblyVersion>
60 <ReturnType>System.String</ReturnType>
63 <value>To be added: an object of type 'string'</value>
65 <attribution license="cc4" from="Microsoft" modified="false" />
66 <para>This property contains additional information that can be displayed for diagnostic purposes.</para>
69 <attribution license="cc4" from="Microsoft" modified="false" />
70 <para>Gets the comments associated with the file.</para>
74 <Member MemberName="CompanyName">
75 <MemberSignature Language="C#" Value="public string CompanyName { get; }" />
76 <MemberSignature Language="ILAsm" Value=".property instance string CompanyName" />
77 <MemberType>Property</MemberType>
79 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
80 <AssemblyVersion>2.0.0.0</AssemblyVersion>
81 <AssemblyVersion>4.0.0.0</AssemblyVersion>
84 <ReturnType>System.String</ReturnType>
87 <value>To be added: an object of type 'string'</value>
88 <remarks>To be added</remarks>
90 <attribution license="cc4" from="Microsoft" modified="false" />
91 <para>Gets the name of the company that produced the file.</para>
95 <Member MemberName="FileBuildPart">
96 <MemberSignature Language="C#" Value="public int FileBuildPart { get; }" />
97 <MemberSignature Language="ILAsm" Value=".property instance int32 FileBuildPart" />
98 <MemberType>Property</MemberType>
100 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
101 <AssemblyVersion>2.0.0.0</AssemblyVersion>
102 <AssemblyVersion>4.0.0.0</AssemblyVersion>
105 <ReturnType>System.Int32</ReturnType>
108 <value>To be added: an object of type 'int'</value>
110 <attribution license="cc4" from="Microsoft" modified="false" />
111 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A file version number is a 64-bit number that holds the version number for a file as follows: </para>
114 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMajorPart" /> number.</para>
117 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMinorPart" /> number.</para>
120 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileBuildPart" /> number.</para>
123 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FilePrivatePart" /> number.</para>
126 <para>This property gets the third set of 16 bits.</para>
129 <attribution license="cc4" from="Microsoft" modified="false" />
130 <para>Gets the build number of the file.</para>
134 <Member MemberName="FileDescription">
135 <MemberSignature Language="C#" Value="public string FileDescription { get; }" />
136 <MemberSignature Language="ILAsm" Value=".property instance string FileDescription" />
137 <MemberType>Property</MemberType>
139 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
140 <AssemblyVersion>2.0.0.0</AssemblyVersion>
141 <AssemblyVersion>4.0.0.0</AssemblyVersion>
144 <ReturnType>System.String</ReturnType>
147 <value>To be added: an object of type 'string'</value>
148 <remarks>To be added</remarks>
150 <attribution license="cc4" from="Microsoft" modified="false" />
151 <para>Gets the description of the file.</para>
155 <Member MemberName="FileMajorPart">
156 <MemberSignature Language="C#" Value="public int FileMajorPart { get; }" />
157 <MemberSignature Language="ILAsm" Value=".property instance int32 FileMajorPart" />
158 <MemberType>Property</MemberType>
160 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
161 <AssemblyVersion>2.0.0.0</AssemblyVersion>
162 <AssemblyVersion>4.0.0.0</AssemblyVersion>
165 <ReturnType>System.Int32</ReturnType>
168 <value>To be added: an object of type 'int'</value>
170 <attribution license="cc4" from="Microsoft" modified="false" />
171 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A file version number is a 64-bit number that holds the version number for a file as follows: </para>
174 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMajorPart" /> number.</para>
177 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMinorPart" /> number.</para>
180 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileBuildPart" /> number.</para>
183 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FilePrivatePart" /> number.</para>
186 <para>This property gets the first set of 16 bits.</para>
189 <attribution license="cc4" from="Microsoft" modified="false" />
190 <para>Gets the major part of the version number.</para>
194 <Member MemberName="FileMinorPart">
195 <MemberSignature Language="C#" Value="public int FileMinorPart { get; }" />
196 <MemberSignature Language="ILAsm" Value=".property instance int32 FileMinorPart" />
197 <MemberType>Property</MemberType>
199 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
200 <AssemblyVersion>2.0.0.0</AssemblyVersion>
201 <AssemblyVersion>4.0.0.0</AssemblyVersion>
204 <ReturnType>System.Int32</ReturnType>
207 <value>To be added: an object of type 'int'</value>
209 <attribution license="cc4" from="Microsoft" modified="false" />
210 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A file version number is a 64-bit number that holds the version number for a file as follows: </para>
213 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMajorPart" /> number.</para>
216 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMinorPart" /> number.</para>
219 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileBuildPart" /> number.</para>
222 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FilePrivatePart" /> number.</para>
225 <para>This property gets the second set of 16 bits.</para>
228 <attribution license="cc4" from="Microsoft" modified="false" />
229 <para>Gets the minor part of the version number of the file.</para>
233 <Member MemberName="FileName">
234 <MemberSignature Language="C#" Value="public string FileName { get; }" />
235 <MemberSignature Language="ILAsm" Value=".property instance string FileName" />
236 <MemberType>Property</MemberType>
238 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
239 <AssemblyVersion>2.0.0.0</AssemblyVersion>
240 <AssemblyVersion>4.0.0.0</AssemblyVersion>
243 <ReturnType>System.String</ReturnType>
246 <value>To be added: an object of type 'string'</value>
247 <remarks>To be added</remarks>
249 <attribution license="cc4" from="Microsoft" modified="false" />
250 <para>Gets the name of the file that this instance of <see cref="T:System.Diagnostics.FileVersionInfo" /> describes.</para>
254 <Member MemberName="FilePrivatePart">
255 <MemberSignature Language="C#" Value="public int FilePrivatePart { get; }" />
256 <MemberSignature Language="ILAsm" Value=".property instance int32 FilePrivatePart" />
257 <MemberType>Property</MemberType>
259 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
260 <AssemblyVersion>2.0.0.0</AssemblyVersion>
261 <AssemblyVersion>4.0.0.0</AssemblyVersion>
264 <ReturnType>System.Int32</ReturnType>
267 <value>To be added: an object of type 'int'</value>
269 <attribution license="cc4" from="Microsoft" modified="false" />
270 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A file version number is a 64-bit number that holds the version number for a file as follows: </para>
273 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMajorPart" /> number.</para>
276 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMinorPart" /> number.</para>
279 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileBuildPart" /> number.</para>
282 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FilePrivatePart" /> number.</para>
285 <para>This property gets the last set of 16 bits.</para>
288 <attribution license="cc4" from="Microsoft" modified="false" />
289 <para>Gets the file private part number.</para>
293 <Member MemberName="FileVersion">
294 <MemberSignature Language="C#" Value="public string FileVersion { get; }" />
295 <MemberSignature Language="ILAsm" Value=".property instance string FileVersion" />
296 <MemberType>Property</MemberType>
298 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
299 <AssemblyVersion>2.0.0.0</AssemblyVersion>
300 <AssemblyVersion>4.0.0.0</AssemblyVersion>
303 <ReturnType>System.String</ReturnType>
306 <value>To be added: an object of type 'string'</value>
308 <attribution license="cc4" from="Microsoft" modified="false" />
309 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A file version number is a 64-bit number that holds the version number for a file as follows: </para>
312 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMajorPart" /> number.</para>
315 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileMinorPart" /> number.</para>
318 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FileBuildPart" /> number.</para>
321 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.FilePrivatePart" /> number.</para>
326 <attribution license="cc4" from="Microsoft" modified="false" />
327 <para>Gets the file version number.</para>
331 <Member MemberName="GetVersionInfo">
332 <MemberSignature Language="C#" Value="public static System.Diagnostics.FileVersionInfo GetVersionInfo (string fileName);" />
333 <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Diagnostics.FileVersionInfo GetVersionInfo(string fileName) cil managed" />
334 <MemberType>Method</MemberType>
336 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
337 <AssemblyVersion>2.0.0.0</AssemblyVersion>
338 <AssemblyVersion>4.0.0.0</AssemblyVersion>
341 <ReturnType>System.Diagnostics.FileVersionInfo</ReturnType>
344 <Parameter Name="fileName" Type="System.String" />
347 <remarks>To be added</remarks>
349 <attribution license="cc4" from="Microsoft" modified="false" />
350 <para>Returns a <see cref="T:System.Diagnostics.FileVersionInfo" /> representing the version information associated with the specified file.</para>
353 <attribution license="cc4" from="Microsoft" modified="false" />
354 <para>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.</para>
356 <param name="fileName">
357 <attribution license="cc4" from="Microsoft" modified="false" />The fully qualified path and name of the file to retrieve the version information for. </param>
360 <Member MemberName="InternalName">
361 <MemberSignature Language="C#" Value="public string InternalName { get; }" />
362 <MemberSignature Language="ILAsm" Value=".property instance string InternalName" />
363 <MemberType>Property</MemberType>
365 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
366 <AssemblyVersion>2.0.0.0</AssemblyVersion>
367 <AssemblyVersion>4.0.0.0</AssemblyVersion>
370 <ReturnType>System.String</ReturnType>
373 <value>To be added: an object of type 'string'</value>
374 <remarks>To be added</remarks>
376 <attribution license="cc4" from="Microsoft" modified="false" />
377 <para>Gets the internal name of the file, if one exists.</para>
381 <Member MemberName="IsDebug">
382 <MemberSignature Language="C#" Value="public bool IsDebug { get; }" />
383 <MemberSignature Language="ILAsm" Value=".property instance bool IsDebug" />
384 <MemberType>Property</MemberType>
386 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
387 <AssemblyVersion>2.0.0.0</AssemblyVersion>
388 <AssemblyVersion>4.0.0.0</AssemblyVersion>
391 <ReturnType>System.Boolean</ReturnType>
394 <value>To be added: an object of type 'bool'</value>
396 <attribution license="cc4" from="Microsoft" modified="false" />
397 <para>The <see cref="T:System.Diagnostics.FileVersionInfo" /> properties are based on version resource information built into the file. Version resources are often built into binary files such as .exe or .dll files; text files do not have version resource information.</para>
398 <para>Version resources are typically specified in a Win32 resource file, or in assembly attributes. The <see cref="P:System.Diagnostics.FileVersionInfo.IsDebug" /> property reflects the VS_FF_DEBUG flag value in the file's VS_FIXEDFILEINFO block, which is built from the VERSIONINFO resource in a Win32 resource file. For more information about specifying version resources in a Win32 resource file, see the Platform SDK About Resource Files topic and VERSIONINFO Resource topic topics.</para>
401 <attribution license="cc4" from="Microsoft" modified="false" />
402 <para>Gets a value that specifies whether the file contains debugging information or is compiled with debugging features enabled.</para>
406 <Member MemberName="IsPatched">
407 <MemberSignature Language="C#" Value="public bool IsPatched { get; }" />
408 <MemberSignature Language="ILAsm" Value=".property instance bool IsPatched" />
409 <MemberType>Property</MemberType>
411 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
412 <AssemblyVersion>2.0.0.0</AssemblyVersion>
413 <AssemblyVersion>4.0.0.0</AssemblyVersion>
416 <ReturnType>System.Boolean</ReturnType>
419 <value>To be added: an object of type 'bool'</value>
420 <remarks>To be added</remarks>
422 <attribution license="cc4" from="Microsoft" modified="false" />
423 <para>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.</para>
427 <Member MemberName="IsPreRelease">
428 <MemberSignature Language="C#" Value="public bool IsPreRelease { get; }" />
429 <MemberSignature Language="ILAsm" Value=".property instance bool IsPreRelease" />
430 <MemberType>Property</MemberType>
432 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
433 <AssemblyVersion>2.0.0.0</AssemblyVersion>
434 <AssemblyVersion>4.0.0.0</AssemblyVersion>
437 <ReturnType>System.Boolean</ReturnType>
440 <value>To be added: an object of type 'bool'</value>
441 <remarks>To be added</remarks>
443 <attribution license="cc4" from="Microsoft" modified="false" />
444 <para>Gets a value that specifies whether the file is a development version, rather than a commercially released product.</para>
448 <Member MemberName="IsPrivateBuild">
449 <MemberSignature Language="C#" Value="public bool IsPrivateBuild { get; }" />
450 <MemberSignature Language="ILAsm" Value=".property instance bool IsPrivateBuild" />
451 <MemberType>Property</MemberType>
453 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
454 <AssemblyVersion>2.0.0.0</AssemblyVersion>
455 <AssemblyVersion>4.0.0.0</AssemblyVersion>
458 <ReturnType>System.Boolean</ReturnType>
461 <value>To be added: an object of type 'bool'</value>
463 <attribution license="cc4" from="Microsoft" modified="false" />
464 <para>If this value is true, <see cref="P:System.Diagnostics.FileVersionInfo.PrivateBuild" /> will describe how this version of the file differs from the standard version.</para>
467 <attribution license="cc4" from="Microsoft" modified="false" />
468 <para>Gets a value that specifies whether the file was built using standard release procedures.</para>
472 <Member MemberName="IsSpecialBuild">
473 <MemberSignature Language="C#" Value="public bool IsSpecialBuild { get; }" />
474 <MemberSignature Language="ILAsm" Value=".property instance bool IsSpecialBuild" />
475 <MemberType>Property</MemberType>
477 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
478 <AssemblyVersion>2.0.0.0</AssemblyVersion>
479 <AssemblyVersion>4.0.0.0</AssemblyVersion>
482 <ReturnType>System.Boolean</ReturnType>
485 <value>To be added: an object of type 'bool'</value>
487 <attribution license="cc4" from="Microsoft" modified="false" />
488 <para>A file that is a special build was built using standard release procedures, but the file differs from a standard file of the same version number. If this value is true, the <see cref="P:System.Diagnostics.FileVersionInfo.SpecialBuild" /> property must specify how this file differs from the standard version.</para>
491 <attribution license="cc4" from="Microsoft" modified="false" />
492 <para>Gets a value that specifies whether the file is a special build.</para>
496 <Member MemberName="Language">
497 <MemberSignature Language="C#" Value="public string Language { get; }" />
498 <MemberSignature Language="ILAsm" Value=".property instance string Language" />
499 <MemberType>Property</MemberType>
501 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
502 <AssemblyVersion>2.0.0.0</AssemblyVersion>
503 <AssemblyVersion>4.0.0.0</AssemblyVersion>
506 <ReturnType>System.String</ReturnType>
509 <value>To be added: an object of type 'string'</value>
510 <remarks>To be added</remarks>
512 <attribution license="cc4" from="Microsoft" modified="false" />
513 <para>Gets the default language string for the version info block.</para>
517 <Member MemberName="LegalCopyright">
518 <MemberSignature Language="C#" Value="public string LegalCopyright { get; }" />
519 <MemberSignature Language="ILAsm" Value=".property instance string LegalCopyright" />
520 <MemberType>Property</MemberType>
522 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
523 <AssemblyVersion>2.0.0.0</AssemblyVersion>
524 <AssemblyVersion>4.0.0.0</AssemblyVersion>
527 <ReturnType>System.String</ReturnType>
530 <value>To be added: an object of type 'string'</value>
532 <attribution license="cc4" from="Microsoft" modified="false" />
533 <para>This should include the full text of all notices, legal symbols, copyright dates, and so on or null if the file did not contain version information.</para>
536 <attribution license="cc4" from="Microsoft" modified="false" />
537 <para>Gets all copyright notices that apply to the specified file.</para>
541 <Member MemberName="LegalTrademarks">
542 <MemberSignature Language="C#" Value="public string LegalTrademarks { get; }" />
543 <MemberSignature Language="ILAsm" Value=".property instance string LegalTrademarks" />
544 <MemberType>Property</MemberType>
546 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
547 <AssemblyVersion>2.0.0.0</AssemblyVersion>
548 <AssemblyVersion>4.0.0.0</AssemblyVersion>
551 <ReturnType>System.String</ReturnType>
554 <value>To be added: an object of type 'string'</value>
556 <attribution license="cc4" from="Microsoft" modified="false" />
557 <para>The legal trademarks include the full text of all notices, legal symbols, and trademark numbers.</para>
560 <attribution license="cc4" from="Microsoft" modified="false" />
561 <para>Gets the trademarks and registered trademarks that apply to the file.</para>
565 <Member MemberName="OriginalFilename">
566 <MemberSignature Language="C#" Value="public string OriginalFilename { get; }" />
567 <MemberSignature Language="ILAsm" Value=".property instance string OriginalFilename" />
568 <MemberType>Property</MemberType>
570 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
571 <AssemblyVersion>2.0.0.0</AssemblyVersion>
572 <AssemblyVersion>4.0.0.0</AssemblyVersion>
575 <ReturnType>System.String</ReturnType>
578 <value>To be added: an object of type 'string'</value>
580 <attribution license="cc4" from="Microsoft" modified="false" />
581 <para>This property enables an application to determine whether a file has been renamed.</para>
584 <attribution license="cc4" from="Microsoft" modified="false" />
585 <para>Gets the name the file was created with.</para>
589 <Member MemberName="PrivateBuild">
590 <MemberSignature Language="C#" Value="public string PrivateBuild { get; }" />
591 <MemberSignature Language="ILAsm" Value=".property instance string PrivateBuild" />
592 <MemberType>Property</MemberType>
594 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
595 <AssemblyVersion>2.0.0.0</AssemblyVersion>
596 <AssemblyVersion>4.0.0.0</AssemblyVersion>
599 <ReturnType>System.String</ReturnType>
602 <value>To be added: an object of type 'string'</value>
604 <attribution license="cc4" from="Microsoft" modified="false" />
605 <para>This information is present when <see cref="P:System.Diagnostics.FileVersionInfo.IsPrivateBuild" /> is true.</para>
608 <attribution license="cc4" from="Microsoft" modified="false" />
609 <para>Gets information about a private version of the file.</para>
613 <Member MemberName="ProductBuildPart">
614 <MemberSignature Language="C#" Value="public int ProductBuildPart { get; }" />
615 <MemberSignature Language="ILAsm" Value=".property instance int32 ProductBuildPart" />
616 <MemberType>Property</MemberType>
618 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
619 <AssemblyVersion>2.0.0.0</AssemblyVersion>
620 <AssemblyVersion>4.0.0.0</AssemblyVersion>
623 <ReturnType>System.Int32</ReturnType>
626 <value>To be added: an object of type 'int'</value>
628 <attribution license="cc4" from="Microsoft" modified="false" />
629 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A product version number is a 64-bit number that holds the version number as follows: </para>
632 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMajorPart" /> number.</para>
635 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMinorPart" /> number.</para>
638 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductBuildPart" /> number.</para>
641 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart" /> number.</para>
644 <para>This property gets the third set of 16 bits.</para>
647 <attribution license="cc4" from="Microsoft" modified="false" />
648 <para>Gets the build number of the product this file is associated with.</para>
652 <Member MemberName="ProductMajorPart">
653 <MemberSignature Language="C#" Value="public int ProductMajorPart { get; }" />
654 <MemberSignature Language="ILAsm" Value=".property instance int32 ProductMajorPart" />
655 <MemberType>Property</MemberType>
657 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
658 <AssemblyVersion>2.0.0.0</AssemblyVersion>
659 <AssemblyVersion>4.0.0.0</AssemblyVersion>
662 <ReturnType>System.Int32</ReturnType>
665 <value>To be added: an object of type 'int'</value>
667 <attribution license="cc4" from="Microsoft" modified="false" />
668 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A product version number is a 64-bit number that holds the version number as follows: </para>
671 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMajorPart" /> number.</para>
674 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMinorPart" /> number.</para>
677 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductBuildPart" /> number.</para>
680 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart" /> number.</para>
683 <para>This property gets the first set of 16 bits.</para>
686 <attribution license="cc4" from="Microsoft" modified="false" />
687 <para>Gets the major part of the version number for the product this file is associated with.</para>
691 <Member MemberName="ProductMinorPart">
692 <MemberSignature Language="C#" Value="public int ProductMinorPart { get; }" />
693 <MemberSignature Language="ILAsm" Value=".property instance int32 ProductMinorPart" />
694 <MemberType>Property</MemberType>
696 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
697 <AssemblyVersion>2.0.0.0</AssemblyVersion>
698 <AssemblyVersion>4.0.0.0</AssemblyVersion>
701 <ReturnType>System.Int32</ReturnType>
704 <value>To be added: an object of type 'int'</value>
706 <attribution license="cc4" from="Microsoft" modified="false" />
707 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A product version number is a 64-bit number that holds the version number as follows: </para>
710 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMajorPart" /> number.</para>
713 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMinorPart" /> number.</para>
716 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductBuildPart" /> number.</para>
719 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart" /> number.</para>
722 <para>This property gets the second set of 16 bits.</para>
725 <attribution license="cc4" from="Microsoft" modified="false" />
726 <para>Gets the minor part of the version number for the product the file is associated with.</para>
730 <Member MemberName="ProductName">
731 <MemberSignature Language="C#" Value="public string ProductName { get; }" />
732 <MemberSignature Language="ILAsm" Value=".property instance string ProductName" />
733 <MemberType>Property</MemberType>
735 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
736 <AssemblyVersion>2.0.0.0</AssemblyVersion>
737 <AssemblyVersion>4.0.0.0</AssemblyVersion>
740 <ReturnType>System.String</ReturnType>
743 <value>To be added: an object of type 'string'</value>
744 <remarks>To be added</remarks>
746 <attribution license="cc4" from="Microsoft" modified="false" />
747 <para>Gets the name of the product this file is distributed with.</para>
751 <Member MemberName="ProductPrivatePart">
752 <MemberSignature Language="C#" Value="public int ProductPrivatePart { get; }" />
753 <MemberSignature Language="ILAsm" Value=".property instance int32 ProductPrivatePart" />
754 <MemberType>Property</MemberType>
756 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
757 <AssemblyVersion>2.0.0.0</AssemblyVersion>
758 <AssemblyVersion>4.0.0.0</AssemblyVersion>
761 <ReturnType>System.Int32</ReturnType>
764 <value>To be added: an object of type 'int'</value>
766 <attribution license="cc4" from="Microsoft" modified="false" />
767 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A product version number is a 64-bit number that holds the version number as follows: </para>
770 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMajorPart" /> number.</para>
773 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMinorPart" /> number.</para>
776 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductBuildPart" /> number.</para>
779 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart" /> number.</para>
782 <para>This property gets the last set of 16 bits.</para>
785 <attribution license="cc4" from="Microsoft" modified="false" />
786 <para>Gets the private part number of the product this file is associated with.</para>
790 <Member MemberName="ProductVersion">
791 <MemberSignature Language="C#" Value="public string ProductVersion { get; }" />
792 <MemberSignature Language="ILAsm" Value=".property instance string ProductVersion" />
793 <MemberType>Property</MemberType>
795 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
796 <AssemblyVersion>2.0.0.0</AssemblyVersion>
797 <AssemblyVersion>4.0.0.0</AssemblyVersion>
800 <ReturnType>System.String</ReturnType>
803 <value>To be added: an object of type 'string'</value>
805 <attribution license="cc4" from="Microsoft" modified="false" />
806 <para>Typically, a version number is displayed as "major number.minor number.build number.private part number". A product version number is a 64-bit number that holds the version number as follows: </para>
809 <para>The first 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMajorPart" /> number.</para>
812 <para>The next 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductMinorPart" /> number.</para>
815 <para>The third set of 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductBuildPart" /> number.</para>
818 <para>The last 16 bits are the <see cref="P:System.Diagnostics.FileVersionInfo.ProductPrivatePart" /> number.</para>
823 <attribution license="cc4" from="Microsoft" modified="false" />
824 <para>Gets the version of the product this file is distributed with.</para>
828 <Member MemberName="SpecialBuild">
829 <MemberSignature Language="C#" Value="public string SpecialBuild { get; }" />
830 <MemberSignature Language="ILAsm" Value=".property instance string SpecialBuild" />
831 <MemberType>Property</MemberType>
833 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
834 <AssemblyVersion>2.0.0.0</AssemblyVersion>
835 <AssemblyVersion>4.0.0.0</AssemblyVersion>
838 <ReturnType>System.String</ReturnType>
841 <value>To be added: an object of type 'string'</value>
843 <attribution license="cc4" from="Microsoft" modified="false" />
844 <para>If <see cref="P:System.Diagnostics.FileVersionInfo.IsSpecialBuild" /> is true, <see cref="P:System.Diagnostics.FileVersionInfo.SpecialBuild" /> must specify how this file differs from the standard version of the file.</para>
847 <attribution license="cc4" from="Microsoft" modified="false" />
848 <para>Gets the special build information for the file.</para>
852 <Member MemberName="ToString">
853 <MemberSignature Language="C#" Value="public override string ToString ();" />
854 <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
855 <MemberType>Method</MemberType>
857 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
858 <AssemblyVersion>2.0.0.0</AssemblyVersion>
859 <AssemblyVersion>4.0.0.0</AssemblyVersion>
862 <ReturnType>System.String</ReturnType>
866 <remarks>To be added</remarks>
868 <attribution license="cc4" from="Microsoft" modified="false" />
869 <para>Returns a partial list of properties in the <see cref="T:System.Diagnostics.FileVersionInfo" /> and their values.</para>
872 <attribution license="cc4" from="Microsoft" modified="false" />
873 <para>A list of the following properties in this class and their values: </para>
875 <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" />,</para>
877 <see cref="P:System.Diagnostics.FileVersionInfo.Language" />.</para>
878 <para>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.</para>