Binary: String;
Binary: String;
The Binary property returns path and name of the executable file that started the current version of platform.
Sub UserProc;
Begin
Debug.WriteLine(WinApplication.Binary);
End Sub UserProc;
On executing the example the console window displays path and name of the file that launched the current platform version.
Imports Prognoz.Platform.Interop.Ui;
Sub UserProc();
Var
WinAppCls: WinApplicationClass = New WinApplicationClassClass();
Begin
System.Diagnostics.Debug.WriteLine(WinAppCls.Binary);
End Sub;
On executing the example the console window displays path and name of the file that launched the current platform version.
See also: