Giter Site home page Giter Site logo

tls-sig-api-v2-cs's Introduction

说明

此项目为 tls-sig-api-v2 版本的 c# 实现。之前的非对称密钥无法使用此版本的 api,如需使用请查看这里

集成

使用 Visual Studio 工具下的程序包管理器和 NuGet 命令行均可以集成。另外也可以下载源码直接集成。

VS 集成

在 Visual Studio 中按照 工具->NuGet 包管理器->管理解决方案的 NuGet 程序包,然后搜索 tls-sig-api-v2 进行安装。

NuGet 命令行集成

项目已经打包上传至 nuget.org 包管理仓库,可以使用 nuget 直接安装。

PM> Install-Package tls-sig-api-v2

多种命令行安装方式这里可以查看。

源码集成

tls-sig-api-v2-cs/TLSSigAPIv2.cs 下载放置到开发者项目目录下,按照下述示例代码调用即可。

使用

using tencentyun;

TLSSigAPIv2 api = new TLSSigAPIv2(1400000000, "5bd2850fff3ecb11d7c805251c51ee463a25727bddc2385f3fa8bfee1bb93b5e");
string sig = api.GenSig("xiaojun");
System.Console.WriteLine(sig);

tls-sig-api-v2-cs's People

Contributors

weijunyi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.