Build Check Google Pagerank with Prapi API in c#

Publisher: guest

Posted: Jun 30 2011

Word count :1023

Ranking:
| 0 (0 times)

 

I have built demo app to get free Google Pagerank by C#, yet.
In this project, i use Prapi API to get Google Pagerank . Picture will display Google Your Pagerank Site.
//urlCheck : url to be checked pagerank
urlCheck = “http://us.yahoo.com”;
pictureBox1.ImageLocation = "http://prapi.net/pr.php?url=" + urlCheck;

Note : you need check validation of url and domain
Url :
!Uri.TryCreate(urlCheck, UriKind.Absolute, out uri) || uri == null
domain :
WebRequest request = WebRequest.Create(urlCheck);
request.Timeout = 15000;
WebResponse response;
try
{
        response = request.GetResponse();
        pictureBox1.ImageLocation = "http://prapi.net/pr.php?url=" + urlCheck;
}

Description APP :
1. Start App :
2. Input url format Error :
3. Domain does not Exist:
4. View Google Pagerank Sucessful ^^

Link download app in here
Link download source code in here

Share with you ^^

Translate this article:                
Categories:
Related Articles