OneLineOfCode.NET:一行代码中的流行 .Net 功能-开源

上传者: 42133861 | 上传时间: 2021-06-29 19:22:32 | 文件大小: 3.51MB | 文件类型: ZIP
多年的项目和代码重用促使我创建了一个可以在一行代码中执行许多常见任务的 DLL。 从创建图像缩略图到从许多不同类型的数据库中获取数据,再到检索 PC 中安装的 CPU 数量。 举几个例子: //读取文本文件内容 string data = OLC.IO.ReadTextFile(filepath); //生成强随机密码字符串 randPass = OLC.Randomizer.Instance.GeneratePasswords(1, 10, true, true, true, true)[0]; //获取我的系统字符串的ip和mac myip = OLC.Net.GetSystemIPAddress(); string mymac = OLC.Net.GetMacAddress(myip); //对象序列化和反序列化 OLC.Obj.PutToFile(@"c:\myfile.dat", myobj); 对象 outobj = null; OLC.Obj.GetFromFile((@"c:\myfile.dat", out outobj); //启动一个进程并从标准输出字符串中获取结

文件下载

资源详情

[{"title":"( 73 个子文件 3.51MB ) OneLineOfCode.NET:一行代码中的流行 .Net 功能-开源","children":[{"title":"OneLineOfCode.NET.sln <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"Libs","children":[{"title":"System.Data.SQLite.dll <span style='color:#111;'> 992.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 429.90KB </span>","children":null,"spread":false},{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 188.00KB </span>","children":null,"spread":false},{"title":"Oracle.DataAccess.dll <span style='color:#111;'> 652.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 382.50KB </span>","children":null,"spread":false},{"title":"MySql.Data.dll <span style='color:#111;'> 428.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"DLL","children":[{"title":"IOExcelWriter.cs <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"Proc.cs <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"Randomizer.cs <span style='color:#111;'> 64.94KB </span>","children":null,"spread":false},{"title":"DbMySql.cs <span style='color:#111;'> 8.74KB </span>","children":null,"spread":false},{"title":"Win32.cs <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"Reg.cs <span style='color:#111;'> 9.47KB </span>","children":null,"spread":false},{"title":"Zip.cs <span style='color:#111;'> 7.03KB </span>","children":null,"spread":false},{"title":"DbOracle.cs <span style='color:#111;'> 12.64KB </span>","children":null,"spread":false},{"title":"MSMQHelper.cs <span style='color:#111;'> 17.21KB </span>","children":null,"spread":false},{"title":"DbOleDb.cs <span style='color:#111;'> 9.23KB </span>","children":null,"spread":false},{"title":"Date.cs <span style='color:#111;'> 798B </span>","children":null,"spread":false},{"title":"Db.cs <span style='color:#111;'> 7.16KB </span>","children":null,"spread":false},{"title":"Math.cs <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"Crypt.cs <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"Net.cs <span style='color:#111;'> 7.73KB </span>","children":null,"spread":false},{"title":"WinForms.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"Web.cs <span style='color:#111;'> 10.58KB </span>","children":null,"spread":false},{"title":"Img.cs <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":false},{"title":"RSS.cs <span style='color:#111;'> 35.15KB </span>","children":null,"spread":false},{"title":"Obj.cs <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"DbOdbc.cs <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"WMI.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"Text.cs <span style='color:#111;'> 11.62KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.DLL.csproj <span style='color:#111;'> 5.43KB </span>","children":null,"spread":false},{"title":"WebHelper.cs <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"IO.cs <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.DLL.sln <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false},{"title":"OLC.NET.dll <span style='color:#111;'> 237.00KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.DLL.csproj.ResolveComReference.cache <span style='color:#111;'> 811B </span>","children":null,"spread":false},{"title":"Interop.MSMQ.dll <span style='color:#111;'> 86.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.58KB </span>","children":null,"spread":false},{"title":"OLC.NET.pdb <span style='color:#111;'> 215.50KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.DLL.csproj.FileListAbsolute.txt <span style='color:#111;'> 980B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"DbSQLite.cs <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"System.Data.SQLite.dll <span style='color:#111;'> 992.50KB </span>","children":null,"spread":false},{"title":"OLC.NET.dll <span style='color:#111;'> 237.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 429.90KB </span>","children":null,"spread":false},{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 188.00KB </span>","children":null,"spread":false},{"title":"Oracle.DataAccess.dll <span style='color:#111;'> 652.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 382.50KB </span>","children":null,"spread":false},{"title":"OLC.NET.pdb <span style='color:#111;'> 215.50KB </span>","children":null,"spread":false},{"title":"MySql.Data.dll <span style='color:#111;'> 428.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":null,"spread":false}],"spread":false},{"title":"WPF.cs <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"Samples","children":[{"title":"Program.cs <span style='color:#111;'> 9.94KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"OneLineOfCode.NET.Samples.csproj <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"OneLineOfCode.NET.Samples.csprojResolveAssemblyReference.cache <span style='color:#111;'> 43.07KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.exe <span style='color:#111;'> 12.00KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"System.Data.SQLite.dll <span style='color:#111;'> 992.50KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.vshost.exe <span style='color:#111;'> 22.63KB </span>","children":null,"spread":false},{"title":"OLC.NET.dll <span style='color:#111;'> 237.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 429.90KB </span>","children":null,"spread":false},{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 188.00KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.exe.config <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 382.50KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.exe <span style='color:#111;'> 12.00KB </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.vshost.exe.config <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"OneLineOfCode.NET.Samples.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"OLC.NET.pdb <span style='color:#111;'> 215.50KB </span>","children":null,"spread":false},{"title":"MySql.Data.dll <span style='color:#111;'> 428.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明