Skip to content

Instantly share code, notes, and snippets.

@jamesaxl
Created January 3, 2015 13:51
#if SOUP_SHARP
protected Soup.Session Session { get; set;}
#else
protected System.Net.WebClient Session { get; set;}
#endif
public PasteBin(){
#if SOUP_SHARP
Session = new Soup.Session ();
#else
Session = new System.Net.WebClient();
#endif
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment