The Program class
More...
|
static void | Main () |
| The main entry point for the application. More...
|
|
The Program class
Definition at line 9 of file Program.cs.
static void SDKSampleApp.Source.Program.Main |
( |
| ) |
|
|
inlinestatic |
The main entry point for the application.
Definition at line 15 of file Program.cs.
18 var processType = Environment.Is64BitProcess ?
"x64" :
"x86";
19 var currentPath =
new System.IO.DirectoryInfo(Application.ExecutablePath);
20 var rootSamplePath = currentPath.Parent.Parent.Parent.Parent.Parent.Parent.FullName;
21 const string PathFormat =
"{0}\\MediaController\\ThirdParty\\GStreamer\\1.8.1\\{1}\\gstreamer_runtime\\bin";
22 var gstreamerPath =
new System.IO.DirectoryInfo(
string.Format(PathFormat, rootSamplePath, processType));
25 Environment.SetEnvironmentVariable(
"PATH", gstreamerPath.FullName);
27 Application.EnableVisualStyles();
28 Application.SetCompatibleTextRenderingDefault(
false);
29 Application.Run(
new MainForm());
The documentation for this class was generated from the following file:
- C:/Git/VxSDK-Samples/CSharpSample/CSharp/Source/Program.cs