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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
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