code_junkie

Get Firefox URL?

Nov 13th, 2011
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. using NDde.Client;
  2.  
  3. class Test
  4. {
  5. public static string GetFirefoxURL()
  6. {
  7. DdeClient dde = new DdeClient("Firefox", "WWW_GetWindowInfo");
  8. dde.Connect();
  9. string url = dde.Request("URL", int.MaxValue);
  10. dde.Disconnect();
  11. return url;
  12. }
  13. }
  14.  
  15. "http://stackoverflow.com/questions/430614/get-firefox-url","Get Firefox URL? - Stack Overflow",""
Add Comment
Please, Sign In to add comment