• 大小: 0.06M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: WCF  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Client
{
    class Program
    {
        static string myname = string.Empty;
        static void Main(string[] args)
        {
            var proxy = new AddService.AddServiceClient();
            proxy.ClientCredentials.UserName.Password = “asd123.“;
            proxy.ClientCredentials.UserName.UserName = “wengyuli“;
            Console.WriteLine(proxy.Login(“23“)); 
            
            Console.Read();
        }
    }
     
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1763  2011-05-13 22:41  Client\app.config

     文件      15872  2011-05-13 22:41  Client\bin\Debug\Client.pdb

     文件       3717  2011-05-13 22:23  Client\Client.csproj

     文件        561  2011-05-13 22:23  Client\Program.cs

     文件       1424  2010-11-16 23:11  Client\Properties\AssemblyInfo.cs

     文件       2449  2011-05-13 22:41  Client\Service References\AddService\configuration.svcinfo

     文件      20707  2011-05-13 22:41  Client\Service References\AddService\configuration91.svcinfo

     文件       2302  2011-05-13 22:41  Client\Service References\AddService\Reference.cs

     文件       1891  2011-05-13 22:41  Client\Service References\AddService\Reference.svcmap

     文件       4181  2011-05-13 22:41  Client\Service References\AddService\service.wsdl

     文件        662  2011-05-13 22:41  Client\Service References\AddService\service.xsd

     文件       2491  2011-05-13 22:41  Client\Service References\AddService\service1.xsd

     文件       1079  2011-05-13 23:55  HostTcpTest\AddService.cs

     文件       1815  2011-05-13 23:55  HostTcpTest\App.config

     文件      13824  2011-05-13 22:18  HostTcpTest\bin\Debug\HostTcpTest.pdb

     文件      11600  2011-05-13 22:40  HostTcpTest\bin\Debug\HostTcpTest.vshost.exe

     文件       2649  2011-05-12 17:15  HostTcpTest\HostTcpTest.csproj

     文件       6094  2011-05-13 22:40  HostTcpTest\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1870  2011-05-13 22:40  HostTcpTest\obj\x86\Debug\HostTcpTest.csproj.FileListAbsolute.txt

     文件       6144  2011-05-13 22:18  HostTcpTest\obj\x86\Debug\HostTcpTest.exe

     文件      13824  2011-05-13 22:18  HostTcpTest\obj\x86\Debug\HostTcpTest.pdb

     文件        442  2011-05-13 22:18  HostTcpTest\Program.cs

     文件       1434  2010-11-16 22:27  HostTcpTest\Properties\AssemblyInfo.cs

     文件       2503  2011-05-13 22:18  HostTcpTest.sln

     目录          0  2010-11-16 22:27  HostTcpTest\obj\x86\Debug\TempPE

     目录          0  2011-05-13 22:41  Client\obj\x86\Debug

     目录          0  2011-05-13 22:18  HostTcpTest\obj\x86\Debug

     目录          0  2011-05-13 22:18  Client\bin\Debug

     目录          0  2010-11-16 23:11  Client\obj\x86

     目录          0  2011-05-13 22:22  Client\Service References\AddService

............此处省略34个文件信息

评论

共有 条评论