How to Encode or Decode Base 64 in C#

  Рет қаралды 7,550

Nick Proud

Nick Proud

Жыл бұрын

In this video, I show you a simple way to encode and decode base64 in C#.
Base64 is a very well-known and robust binary-to-text encoding that can be used to move binary data around within systems that support text. For example, when you add an attachment to an email, the binary that makes us the attachment is encoded as base64 and stored as text within the MIME of that email before it is transmitted.
#microsoft #dotnet #softwaredevelopment #coding #csharp #visualstudio

Пікірлер: 14
@justjase10
@justjase10 Жыл бұрын
Thank you for the clear explanation, bless you.🥂
@ievgeniilarin
@ievgeniilarin Жыл бұрын
Thank you for the explanation.
@franklinkf
@franklinkf Жыл бұрын
Thank you. Well explained
@skyhappy
@skyhappy Жыл бұрын
First non bot comment. Neat vid thanks.
@shivnarayansinghgour2770
@shivnarayansinghgour2770 2 ай бұрын
While decoding getting error : Invalid length for a Base 64 char array or string
@michaelflevier7645
@michaelflevier7645 11 ай бұрын
Brilliant, and thanks a lot. Could you perhaps make another video on ASCII Binary Decode File?
@nickproudprogrammer
@nickproudprogrammer 11 ай бұрын
Sure thing! Thanks for the request. I'll add it to my list
@michaelflevier7645
@michaelflevier7645 10 ай бұрын
sound like a plan, tx@@nickproudprogrammer
@yasuaro
@yasuaro 5 ай бұрын
Thanks a lot
@nickproudprogrammer
@nickproudprogrammer 5 ай бұрын
Most welcome
@paxvostrum4824
@paxvostrum4824 10 ай бұрын
Thanks, greate content! Does it really work with spreadsheets? Could you show us example with different file types, say: docx, xlsx, mp4..
@nickproudprogrammer
@nickproudprogrammer 9 ай бұрын
Great suggestion! Any file you can read as bytes can be converted to base64
@danm1063
@danm1063 Жыл бұрын
Are those copilot suggestions or something else?
@akashsawant902
@akashsawant902 Жыл бұрын
hi, I want to convert some swedish characters as it is in the response. i am getting the string in the request like this, string swedishText = "Det här är en text på svenska med åäö."; and i want to print this string in the console as string without using the method like this, Console.OutputEncoding = System.Text.Encoding.UTF8;. can someone help please
ASP.NET Core Web API .NET 8 2024 -1. Create Project + Install
13:31
Шокирующая Речь Выпускника 😳📽️@CarrolltonTexas
00:43
Глеб Рандалайнен
Рет қаралды 11 МЛН
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
New Gadgets! Bycycle 4.0 🚲 #shorts
00:14
BongBee Family
Рет қаралды 16 МЛН
Strings in C# 11 just got a whole lot better
11:02
Nick Chapsas
Рет қаралды 77 М.
Easy C# Tutorial - Understand Attributes and Write your Own!
13:24
"Don't Use Fields in C#! Use Properties Instead" | Code Cop #003
10:27
Demystifying Base64 Encoding in C# - Beginner's DotNet Guide
10:59
C# Binary Serialization | Serialization and Deserialization | Part 1
10:00
Stop using String Interpolation when Logging in .NET
17:30
Nick Chapsas
Рет қаралды 83 М.
Convert Text To Binary in Python
9:41
NeuralNine
Рет қаралды 15 М.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,1 МЛН
C# 12 - The Best New Features from the .NET 8 Release!
18:53
Nick Proud
Рет қаралды 1 М.
Mem VPN - в Apple Store
0:30
AndroHack
Рет қаралды 67 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 8 МЛН
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,6 МЛН