private void Connect() { GC.ReRegisterForFinalize(this); this.IsOpen = false; this.Error = WindowsNetwork.OpenConnection(this.Resource, this.Username, this.Password, this.Interactive); this.IsOpen = true; }
private void Connect() { GC.ReRegisterForFinalize(this); this.IsOpen = false; this.Error = WindowsNetwork.OpenConnection(this.Resource, this.Username, this.Password, this.Interactive); this.IsOpen = true; }