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
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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