iControl.ConnectionInfo.setLastAccount C# (CSharp) Method

setLastAccount() public method

public setLastAccount ( String m_hostname ) : void
m_hostname String
return void
        public void setLastAccount(String m_hostname)
        {
            Microsoft.Win32.RegistryKey cu = Microsoft.Win32.Registry.CurrentUser;
            Microsoft.Win32.RegistryKey f5Key = cu.CreateSubKey(CONFIG_KEY);
            if (null != f5Key)
            {
                f5Key.SetValue("LastAccount", m_hostname);
            }
            f5Key.Close();
        }