资源简介
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using DotRas;
namespace EnablingDiagnosticLogging
{
class Program
{
static void Main(string[] args)
{
string phoneBookPath = RasPhoneBook.GetPhoneBookPath(RasPhoneBookType.AllUsers);
using (DotRas.RasPhoneBook pbk = new DotRas.RasPhoneBook())
{
pbk.Open(phoneBookPath);
foreach (RasEntry entry in pbk.Entries)
{
Console.WriteLine(entry.Name);
}
}
Console.WriteLine(“Press any key to continue.“);
Console.ReadKey(true);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-03-17 22:35 EnablingDiagnosticLogging\
文件 1755 2014-03-17 21:25 EnablingDiagnosticLogging.sln
文件 256 2014-03-17 21:25 EnablingDiagnosticLogging.vssscc
文件 436 2014-03-17 21:25 EnablingDiagnosticLogging\App.config
目录 0 2014-03-17 22:35 EnablingDiagnosticLogging\bin\
目录 0 2014-03-17 22:36 EnablingDiagnosticLogging\bin\Debug\
文件 184832 2014-03-17 21:25 EnablingDiagnosticLogging\bin\Debug\DotRas.dll
文件 539590 2014-03-17 21:25 EnablingDiagnosticLogging\bin\Debug\DotRas.xm
文件 6144 2014-03-17 22:36 EnablingDiagnosticLogging\bin\Debug\EnablingDiagnosticLogging.exe
文件 436 2014-03-17 21:25 EnablingDiagnosticLogging\bin\Debug\EnablingDiagnosticLogging.exe.config
文件 11776 2014-03-17 22:36 EnablingDiagnosticLogging\bin\Debug\EnablingDiagnosticLogging.pdb
文件 21464 2014-03-17 22:35 EnablingDiagnosticLogging\bin\Debug\EnablingDiagnosticLogging.vshost.exe
文件 436 2014-03-17 21:25 EnablingDiagnosticLogging\bin\Debug\EnablingDiagnosticLogging.vshost.exe.config
文件 490 2012-06-02 22:34 EnablingDiagnosticLogging\bin\Debug\EnablingDiagnosticLogging.vshost.exe.manifest
文件 3475 2014-03-17 21:25 EnablingDiagnosticLogging\EnablingDiagnosticLogging.csproj
文件 257 2014-03-17 21:25 EnablingDiagnosticLogging\EnablingDiagnosticLogging.csproj.vspscc
目录 0 2014-03-17 22:35 EnablingDiagnosticLogging\obj\
目录 0 2014-03-17 22:36 EnablingDiagnosticLogging\obj\Debug\
文件 6125 2014-03-17 22:35 EnablingDiagnosticLogging\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 1290 2014-03-17 22:36 EnablingDiagnosticLogging\obj\Debug\EnablingDiagnosticLogging.csproj.FileListAbsolute.txt
文件 6361 2014-03-17 22:36 EnablingDiagnosticLogging\obj\Debug\EnablingDiagnosticLogging.csprojResolveAssemblyReference.cache
文件 6144 2014-03-17 22:36 EnablingDiagnosticLogging\obj\Debug\EnablingDiagnosticLogging.exe
文件 11776 2014-03-17 22:36 EnablingDiagnosticLogging\obj\Debug\EnablingDiagnosticLogging.pdb
目录 0 2014-03-17 22:35 EnablingDiagnosticLogging\obj\Debug\TempPE\
文件 717 2014-03-17 21:25 EnablingDiagnosticLogging\Program.cs
目录 0 2014-03-17 21:25 EnablingDiagnosticLogging\Properties\
文件 1480 2014-03-17 21:25 EnablingDiagnosticLogging\Properties\AssemblyInfo.cs
评论
共有 条评论