Asposecpplib
System::Diagnostics::FileVersionInfo Class Reference

Provides information on file version. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...

Public Member Functions

String ASPOSECPP_SHARED_API get_ProductVersion () const
 Gets product version field. More...
 

Static Public Member Functions

static ASPOSECPP_SHARED_API SharedPtr< System::Diagnostics::FileVersionInfoGetVersionInfo (const String &fileName)
 Gets file version info; not implemented. More...
 

Detailed Description

Provides information on file version. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

Member Function Documentation

◆ get_ProductVersion()

String ASPOSECPP_SHARED_API System::Diagnostics::FileVersionInfo::get_ProductVersion ( ) const

Gets product version field.

Returns
Product version string.

◆ GetVersionInfo()

static ASPOSECPP_SHARED_API SharedPtr<System::Diagnostics::FileVersionInfo> System::Diagnostics::FileVersionInfo::GetVersionInfo ( const String fileName)
static

Gets file version info; not implemented.

Parameters
fileNamePath to file to get information for.