This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
string _clientId = "ghXCFiKzs_SxWX"; //ID under you reddit app name, you get after reddit app creation | |
string _state = new Guid().ToString(); //Unique ID | |
string _redirectUri = "http://localhost:8080"; //Filed in when applying for Reddit App | |
string _user_agent = "- with my web scrapper"; //some dummie description of your app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using SHDocVw; | |
public static class Helper | |
{ | |
private static void OpenIE() | |
{ | |
object o = new object(); | |
// Can point to a local file as well C:\My File Path\MyFile.txt | |
string _Url = "www.Yahoo.com"; |