How to Get Server name and instance name in c# and show in combobox

If you are interested in Sql Server you can use something like this: using System.Data; using System.Data.Sql; var instances = SqlDataSourceEnumerator.Instance.GetDataSources(); foreach (DataRow instance in instances.AsEnumerable()) { Console.WriteLine($”ServerName: {instance[“ServerName”]}; “+ ” Instance: {instance[“InstanceName”]}”); } More information about the SqlDataSourceEnumerator class you can find on MSDN. Note: This class will look into the local network for … Read more

Is it ” RTSi6+yxLwIW7KsnoehVDA== ” md5? or How to get original string? [closed]

That is 16 bytes of binary data encoded with base64, which is about right for an MD5 hash. Hashes are one-way functions, so you cannot recover the input. If you want to convert the hash to a more familiar hexadecimal representation: $foo = “RTSi6+yxLwIW7KsnoehVDA==”; $hex = bin2hex(base64_decode($foo)); var_dump($hex); // output: string(32) “4534a2ebecb12f0216ecab27a1e8550c”