Monday 16 September 2013

C# (CSharp) Process - .NET Framework



Starts a process resource and associates it with a Process component.
Namespace: System.Diagnostics
Assembly: System (in System.dll)

The System.Diagnostics namespace contains functions that allow you to manage processes, threads, eventlogs and performance information.

The System.Diagnostics.Process object gives you access to functionality enabling you to manage system processes. We will use this object to get a list of running processes.

Add this line to your using list:

using System.Diagnostics;

Process. A process starts. It does something important. And then it terminates. With processes, we run separate programs at the level of the operating system.
Start, a static method, calls external applications. It allows users to view documents and web pages. It also executes EXE programs and command-line utilities.
A Project - Arguments:
The Process.Start method has overloaded forms. So you can call it with more than argument.

C# program that open notepad
using System.Diagnostics;

class Program
{
        static void Main()
       {
               // Use Process.Start here.
               Process.Start("Notepad.exe");
       }
}


For more information about this example, here.

ProcessStartInfo:
In this example we use ProcessStartInfo. In it, we can store a process' properties: details of its execution.
C# program that open notepad with argument
using System.Diagnostics;

class Program
{
      static void Main()
     {
           ProcessStartInfo startInfo = new ProcessStartInfo();
           startInfo.FileName = "notepad.exe";
           startInfo.Arguments = "/A C:\filetext.txt";
           Process.Start(startInfo);
      }
}


Properties. To refresh our memory, here is a partial listing of Process properties. We will use most of these when starting programs from a program.
ProcessStartInfo:
Stores information about the process—specifically how the process is started and its configuration.
FileName:
The program or filename you want to run. It can be a program such as "NOTEPAD.EXE". Sometimes we can just specify a file name.
Arguments: Stores the arguments, such as -flags or filename. This is a string property.
CreateNoWindow: Allows you to silently run a command line program. It does not flash a console window.
WindowStyle: Use this to set windows as hidden. ProcessWindowStyle.Hidden is often useful.
UserName, WorkingDirectory, Domain: These control OS-specific parameters—for more complex situations.

You can learn more Process Properties List on msdn here. ^_^
Oke I think it's enough simple information about "C# (CSharp) Process -  .NET Framework"

Read another related article :
How to redirect output of Process on C# (Csharp) .Net Framework

Thursday 5 September 2013

proxyTunnelGUI - Stable


proxyTunnelGUI - Stable is quite simply faster, more stable, boost faster for HTTP/S tunneling using proxyTunnel, Tunnelier and Proxifier.proxyTunnelGUI - Stable is an application displays you the connectivity status and IP. It also displays upload and download size with current time.




Key Features of proxyTunnelGUI - Stable
  • Network Meter
  • 6 clientProfile Ssh
  • 5 modeSsh - launcher
  • - +1, +2, +4, +6, +8, +12
  • loadProfile .bscp
  • Automatic read listen port profile .bscp

proxyTunnelGUI - Stable

Clover


Wings for your Windows Explorer!

Clover is an extension of the Windows Explorer, to add multi-tab functionality similar to Google Chrome browser. After install Clover, you will be able to open multiple folders within the same window, and you can also add folder bookmarks.

Features :

Convenient Tab page

Just remember that Ctrl + T to open the page, and Ctrl + W to close the page, Ctrl + Tab to switch pages, the work efficiency far more than doubled!
Seamless integration with operating system

Clover was integrated into Windows Explorer, to keep your usual habits, without having to learn new file management operation.
Lightning-fast bookmarks bar

Press Ctrl + D to bookmark the current path, or drag the folder into the bookmarks bar. No need to look for the folder around, instant reach, how happy!

For more information
-> http://ejie.me/