public static LauncherProfile Load(string ProfileName) { LauncherProfile prof = new LauncherProfile(ProfileName); prof.Load(); return(prof); }
public static List <LauncherProfile> GetLauncherProfileList() { List <LauncherProfile> ProfileList = new List <LauncherProfile>(); foreach (string profile in ProfilesRegistryLocation.GetSubKeyNames()) { ProfileList.Add(LauncherProfile.Load(profile)); } return(ProfileList); }