GetUser() статический приватный Метод

static private GetUser ( string server ) : string
server string
Результат string
Пример #1
0
        private void GetUserAndPassword()
        {
            string user = ASEditorBackend.GetUser(this.serverAddress);

            if (user != string.Empty)
            {
                this.userName = user;
            }
            user = ASEditorBackend.GetPassword(this.serverAddress, user);
            if (user != string.Empty)
            {
                this.password = user;
            }
        }
Пример #2
0
        private void GetUserAndPassword()
        {
            string user = ASEditorBackend.GetUser(this.serverAddress);

            if (user != string.Empty)
            {
                this.userName = user;
            }
            string password = ASEditorBackend.GetPassword(this.serverAddress, user);

            if (!(password != string.Empty))
            {
                return;
            }
            this.password = password;
        }