Accessing URL from Browsers like Google ,Firefox, Edge , Explorer,opera
#region Windows API Functions Declarations //This Function is used to get Active Window Title... [System.Runtime.InteropServices.DllImport("user32.dll",CharSet=System.Runtime.InteropServices.CharSet.Auto)] public static extern int GetWindowText(IntPtr hwnd,string lpString, int cch); //This Function is used to get Handle for Active Window... [System.Runtime.InteropServices.DllImport("user32.dll", CharSet=System.Runtime.InteropServices.CharSet.Auto)] private static extern IntPtr GetForegroundWindow(); //This Function is used to get Active process ID... [System.Runtime.InteropServices.DllImport("user32.dll", CharSet=System.Runtime.InteropServices.CharSet.Auto)] private static extern Int32 GetWindowThreadProcessId(IntPtr hWnd,out Int32 lpdwProcessId); #endregion public static Int32 GetWindowProcessID(IntPtr hwnd) { //This Function is used to get Active process ID... Int32 pid; GetWindowThreadPro...