Gets the trademarks and registered trademarks that apply to the file.
[Visual Basic] Public ReadOnly Property LegalTrademarks As String [C#] public string LegalTrademarks {get;} [C++] public: __property String* get_LegalTrademarks(); [JScript] public function get LegalTrademarks() : String;
The trademarks and registered trademarks that apply to the file.
This included the full text of all notices, legal symbols, trademark numbers, etc.
The following example calls GetVersionInfo to get a FileVersionInfo for the Notepad. Then it prints the LegalTrademarks in a text box. This code assumes TextBox1 has been instantiated.
[Visual Basic]
Private Sub GetTrademarks() Dim myFileVersionInfo As System.Winforms.FileVersionInfo myFileVersionInfo = System.Winforms.FileVersionInfo.GetVersionInfo("c:\WINNT\Notepad.exe") 'Print the file name and version number. TextBox1.Text = "Trademarks: " & myFileVersionInfo.LegalTrademarks End Sub
FileVersionInfo Class | FileVersionInfo Members | System.WinForms Namespace