Years of projects and code re-use have driven me to create a DLL that can perform many common tasks in a single line of code. From image thumbnail creation to getting data from many different types of databases to retrieving how many cpus are installed in your PC.

just a few examples:

//read text file contents
string data = OLC.IO.ReadTextFile(filepath);

//generate a strong random password
string randPass = OLC.Randomizer.Instance.GeneratePasswords(1, 10, true, true, true, true)[0];

//get the ip and mac of my system
string myip = OLC.Net.GetSystemIPAddress();
string mymac = OLC.Net.GetMacAddress(myip);

//object serialization and deserialization
OLC.Obj.PutToFile(@"c:\myfile.dat", myobj);
object outobj = null;
OLC.Obj.GetFromFile((@"c:\myfile.dat", out outobj);

//launch a process and get the results from std output
string results = OLC.Proc.StartProcessWithResult("arp","-a");

//etc.etc.

Project Activity

See All Activity >

Follow OneLineOfCode.NET

OneLineOfCode.NET Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • I'm a nub and this DLL is awesome. it has saved me so much time. thanks!
Read more reviews >

Additional Project Details

Registered

2014-04-16