Skip to content

Commit 6f3e248

Browse files
Revert "refactor"
This reverts commit 2a840b2.
1 parent 2a840b2 commit 6f3e248

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

TwoCaptcha/Captcha/HCaptcha.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
namespace TwoCaptcha.Captcha
2+
{
3+
public class HCaptcha : Captcha
4+
{
5+
public HCaptcha() : base()
6+
{
7+
parameters["method"] = "hcaptcha";
8+
}
9+
10+
public void SetSiteKey(string siteKey)
11+
{
12+
parameters["sitekey"] = siteKey;
13+
}
14+
15+
public void SetUrl(string url)
16+
{
17+
parameters["pageurl"] = url;
18+
}
19+
20+
public void SetData(string data)
21+
{
22+
parameters["data"] = data;
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)