~ruther/NosTale-Gfless

ref: 0433b5040dabe05c55139c75fbd63edac106b9ab NosTale-Gfless/NostaleAuth/Extensions/StringExtensions.cs -rw-r--r-- 251 bytes
0433b504 — František Boháček fix: close application for not parsed arguments 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
using System;
using System.Linq;

namespace NostaleAuth.Extensions
{
    public static class StringExtensions
    {
        public static string ToHex(this string input)
            => String.Concat(input.Select(x => ((int)x).ToString("X2")));
    }
}