91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 225KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-10
  • 語言: C#
  • 標簽: C#??串口調試??

資源簡介

自己開發的串口調試工具,非常的實用,歡迎下載使用。

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.IO;
using?System.Runtime.InteropServices;

namespace?LB.SerialPort
{
????public?class?IniFile
????{
????????public?static?string?FFileName;

????????[DllImport(“kernel32“)]
????????public?static?extern?int?GetPrivateProfileInt(
????????string?lpAppName
????????string?lpKeyName
????????int?nDefault
????????string?lpFileName
????????);
????????[DllImport(“kernel32“)]
????????public?static?extern?int?GetPrivateProfileString(
????????string?lpAppName
????????string?lpKeyName
????????string?lpDefault
????????StringBuilder?lpReturnedString
????????int?nSize
????????string?lpFileName
????????);
????????[DllImport(“kernel32“)]
????????public?static?extern?bool?WritePrivateProfileString(
????????string?lpAppName
????????string?lpKeyName
????????string?lpString
????????string?lpFileName
????????);

????????public?IniFile(string?filename)
????????{
????????????FFileName?=?filename;
????????}
????????public?int?ReadInt(string?section?string?key?int?def)
????????{
????????????return?GetPrivateProfileInt(section?key?def?FFileName);
????????}
????????public?string?ReadString(string?section?string?key?string?def)
????????{
????????????StringBuilder?temp?=?new?StringBuilder(1024);
????????????GetPrivateProfileString(section?key?def?temp?1024?FFileName);
????????????return?temp.ToString();
????????}
????????public?void?WriteInt(string?section?string?key?int?iVal)
????????{
????????????WritePrivateProfileString(section?key?iVal.ToString()?FFileName);
????????}
????????public?void?WriteString(string?section?string?key?string?strVal)
????????{
????????????WritePrivateProfileString(section?key?strVal?FFileName);
????????}
????????public?void?DelKey(string?section?string?key)
????????{
????????????WritePrivateProfileString(section?key?null?FFileName);
????????}
????????public?void?DelSection(string?section)
????????{
????????????WritePrivateProfileString(section?null?null?FFileName);
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????I.A....???????172??2018-06-06?21:08??LB.SerialPort\.vs\LB.SerialPort\DesignTimeBuild\.dtbcache

????I.A..H.?????53760??2018-06-06?21:08??LB.SerialPort\.vs\LB.SerialPort\v15\.suo

????I.A....?????????0??2018-06-06?21:08??LB.SerialPort\.vs\LB.SerialPort\v15\Server\sqlite3\db.lock

????I.A....??????4096??2018-06-06?21:08??LB.SerialPort\.vs\LB.SerialPort\v15\Server\sqlite3\storage.ide

????I.A....?????32768??2018-06-06?21:08??LB.SerialPort\.vs\LB.SerialPort\v15\Server\sqlite3\storage.ide-shm

????I.A....????721032??2018-06-06?21:08??LB.SerialPort\.vs\LB.SerialPort\v15\Server\sqlite3\storage.ide-wal

????I.A....???????760??2017-07-26?12:52??LB.SerialPort\LB.SerialPort\app.config

????I.A....???????118??2017-07-26?15:18??LB.SerialPort\LB.SerialPort\bin\Debug\conf.ini

????I.A....?????22528??2018-03-09?13:47??LB.SerialPort\LB.SerialPort\bin\Debug\LB.SerialPort.exe

????I.A....???????760??2017-07-26?12:52??LB.SerialPort\LB.SerialPort\bin\Debug\LB.SerialPort.exe.config

????I.A....?????44544??2018-03-09?13:47??LB.SerialPort\LB.SerialPort\bin\Debug\LB.SerialPort.pdb

????I.A....?????23168??2018-03-09?13:48??LB.SerialPort\LB.SerialPort\bin\Debug\LB.SerialPort.vshost.exe

????I.A....???????760??2017-07-26?12:52??LB.SerialPort\LB.SerialPort\bin\Debug\LB.SerialPort.vshost.exe.config

????I.A....???????490??2010-03-17?22:39??LB.SerialPort\LB.SerialPort\bin\Debug\LB.SerialPort.vshost.exe.manifest

????I.A....??????2103??2017-07-26?11:36??LB.SerialPort\LB.SerialPort\IniFile.cs

????I.A....??????5632??2017-07-26?11:47??LB.SerialPort\LB.SerialPort\LB.SerialPort.csproj

????I.A....???????523??2017-07-26?14:56??LB.SerialPort\LB.SerialPort\LB.SerialPort.csproj.user

????I.A....?????12548??2018-01-04?16:47??LB.SerialPort\LB.SerialPort\Main.cs

????I.A....?????26167??2017-07-26?12:59??LB.SerialPort\LB.SerialPort\Main.Designer.cs

????I.A....??????6017??2017-07-26?12:59??LB.SerialPort\LB.SerialPort\Main.resx

????I.A....???????827??2018-06-06?21:08??LB.SerialPort\LB.SerialPort\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

????I.A....??????7241??2018-06-06?21:08??LB.SerialPort\LB.SerialPort\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

????I.A....????????42??2018-06-06?21:08??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.csproj.CoreCompileInputs.cache

????I.A....??????2056??2018-03-09?13:48??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.csproj.FileListAbsolute.txt

????I.A....???????976??2017-07-26?13:00??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.csproj.GenerateResource.Cache

????I.A....?????14360??2018-06-06?21:08??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.csprojAssemblyReference.cache

????I.A....??????2522??2017-07-26?11:39??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.csprojResolveAssemblyReference.cache

????I.A....?????22528??2018-03-09?13:47??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.exe

????I.A....???????180??2017-07-26?14:59??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.Main.resources

????I.A....?????44544??2018-03-09?13:47??LB.SerialPort\LB.SerialPort\obj\x86\Debug\LB.SerialPort.pdb

............此處省略30個文件信息

評論

共有 條評論