C# PageRank Tool
After much trawling of the Internet all I could find for automated PageRank gathering was a PHP script or two.
Now since I don’t like to write in PHP, I wrote a version in C#. I haven’t included the source code but I have created a downloadable ZIP containing the C# dll and a test project.
In order to use the dll, simply reference it in your project as follows:
using PageRank;
...
private void btnPR_Click(object sender, EventArgs e)
{
try
{
TGooglePR _pageRank = new TGooglePR();
string _PR =
_pageRank.ReturnPageRank(txtSiteURL.Text);
lblPageRank.Text = “PageRank: ” + _PR;
}
catch (Exception ex)
{
lblPageRank.Text = “Fault Occurred!”;
}
}
…
Have fun with it!
If you enjoyed this post, make sure you subscribe to my RSS feed!Tags: Google PageRank


Leave a Comment