手机
当前位置:查字典教程网 >编程开发 >C#教程 >C#对二进制数据进行base64编码的方法
C#对二进制数据进行base64编码的方法
摘要:本文实例讲述了C#对二进制数据进行base64编码的方法。分享给大家供大家参考。具体实现方法如下:usingSystem;usingSyst...

本文实例讲述了C#对二进制数据进行base64编码的方法。分享给大家供大家参考。具体实现方法如下:

using System; using System.IO; static class MyModClass { public static string Base64EncodeBytes(this byte[] inBytes) { return (Convert.ToBase64String(inBytes)); } }

希望本文所述对大家的C#程序设计有所帮助。

【C#对二进制数据进行base64编码的方法】相关文章:

c# asp .net 动态创建sql数据库表的方法

C#实现对AES加密和解密的方法

C#连接MySql数据库的方法

C# IP地址与整数之间转换的具体方法

C#访问PostGreSQL数据库的方法

使用Deflate算法对文件进行压缩与解压缩的方法详解

C# 中将数值型数据转换为字节数组的方法

C#操作注册表的方法

c#二进制逆序方法详解

PowerShell 定时执行.Net(C#)程序的方法

精品推荐
分类导航