Fonch의 블로그!

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

Decoding 1

[C#] Base64 Encoding, Decoding

Base64 로 Encoding, Decoding 해주는 함수입니다. Convert 에서 해주긴 하지만 Byte[] 로 변환해 줘야 하는 번거로움이 있어 공통함수로 빼서 쓰는게 편하실 겁니다.(친절한 주석은 Pass~ ^^) namespace Common { class EncodingHelper { public static string Base64Encoding(string EncodingText, System.Text.Encoding oEncoding = null) { if (oEncoding == null) oEncoding = System.Text.Encoding.UTF8; byte[] arr = oEncoding.GetBytes(EncodingText); return System.Convert.T..

The Piece of Code 2012.12.07
이전
1
다음
더보기
프로필사진

Fonch의 블로그!

개발자의 이런저런 블로그입니다.

  • 분류 전체보기 (24)
    • 내 인생의 Issue (1)
    • Windows 8 App 이야기 (6)
    • The Piece of Code (8)
    • Review (4)
    • Tip! (3)

Tag

플리커, embed, 대학로, resize, Fonch Muzik Player, image, 맛집, 공유, muzik, Windows8 App, flickr, 사진, app, Windows8, share, windows 8, HTML, 사진공유, C#, Fonch,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바