First actual commit
added sources to repository
This commit is contained in:
18
RedditSharp/Captcha.cs
Normal file
18
RedditSharp/Captcha.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace RedditSharp
|
||||
{
|
||||
public struct Captcha
|
||||
{
|
||||
private const string UrlFormat = "http://www.reddit.com/captcha/{0}";
|
||||
|
||||
public readonly string Id;
|
||||
public readonly Uri Url;
|
||||
|
||||
internal Captcha(string id)
|
||||
{
|
||||
Id = id;
|
||||
Url = new Uri(string.Format(UrlFormat, Id), UriKind.Absolute);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user