Posts Tagged ‘seo’

Free C# Web Reqest Class – LazyHTTP – cURL like Functionality

December 29th, 2009 No comments

Before I give you the free C# class, I thought I may pass along a bit of a ProTip: it seems to me that the laziest source of income I get is from TextLinkAds. This is just a little protip, but you should really join TLA and slap their plugin onto all of your accepted blogs. You will make money…without doing anything. I’m sick and tired of hearing people complain their sites are indexed but not making money. TLA capitalizes on the fact that spiders at least visit your site, even if real humans don’t. Join and give it a try.

See the class below. If you can’t understand how to use it, you may want to brush up on C# … or get a book or something. Here is LazyHTTP (special thanks to nuls on the Syndk8 Blackhat SEO Forums for cleaning this up):

/* LazyHTTP Lazy Request Class. (c) 2009 by ilikenwf
* Special thanks to nuls of the syndk8 forums at
* feel free to copy, modify, share, and distribute as you wish,
* and to include this in any projects you may have, commercial or not.
* please just leave the credits line up above.
* In other words, consider this licensed under the GNU Public License */

using System;
using System.Net;
using System.IO;
using System.Text;

namespace LazyHTTP
public class LazyClient : WebClient, IDisposable
public new string DownloadString(string address)
string output = String.Empty;

try {
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(address);
request.UserAgent = @"YOUR USERAGENT STRING HERE";
request.KeepAlive = false;
request.Timeout = 15 * 1000;

HttpWebResponse res = (HttpWebResponse) request.GetResponse();

using (StreamReader streamReader = new StreamReader(res.GetResponseStream())) {
output = streamReader.ReadToEnd();
} catch {
// Error Hiding - Weeee!
return output;

public void PostAction(string address, string postString)
try {
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(address);
req.Timeout = 3000;
req.Method = "POST";
req.ContentType = "application/x-www-form-urlencoded";
req.ServicePoint.Expect100Continue = false;
byte[] postBytes = new UTF8Encoding().GetBytes(postString);
req.ContentLength = postBytes.Length;
using (Stream stream = req.GetRequestStream()) {
stream.Write(postBytes, 0, postBytes.Length);
} catch {
// Error Hiding - Weeee!

public void Dispose()
// Needed for IDisposable Interface

Wow, SEO Is Time Intensive Sometimes

September 5th, 2009 No comments

Echoed from my other blog… in actuality, I’ve come to the conclusion that most things are time consuming.

I’ve been working on a large array of projects lately, and all seem to take up time. I’m back in school, but that really doesn’t hinder me that much except for the time I spend in class…furthermore, I make good use of the 30 Megabit Down / 7 Megabit up internet connection.

WordPress updates and plugin updates were first on the docket. That took plenty of time across my sites, and then I proceeded to play with some new plugins like CosHTMLCache (which broke RSS on a couple of the sites so I reverted to WP-Super-Cache), and I also have started using twitterposter to promote my posts, which has made a good increase in traffic and AdSense clicks.

After that I have just been tinkering and considering whether I should put up more sites, or try to start working on my all in one blackhat SEO command center in an effort to automate as much as I can from site creation, to promotion, to maintenance and tracking, as well as ad placement and management (probably integrate OpenX in some way for that one….).

All in all, I feel I’m on the upswing, though I still stink at getting many CPA conversions…I just don’t understand what I’m doing wrong. I’d say the techniques I hear of are often so old that they are saturated or dead, so I guess I need to find a place that doesn’t have a bunch of whining n00bs, and enough activity to actually warrant me joining and discussing techniques that work.

In the end, it’s all more of a playground than anything…I still have tons of unused domains to do something with…I’ll never run out of things to do.