public AuthenticationMode Mode() { object[] results = this.Invoke("Mode", new object[0]); return ((AuthenticationMode)(results[0])); }