public void Connect()
 {
     if (_client == null || !_client.isConnected)
     {
         _client = new GroovesharkClient();
     }
 }
示例#2
0
        public static GroovesharkClient GetClient()
        {
            if (_client == null)
            {
                _client         = new GroovesharkClient(true, null, true, null);
                _client.UseGZip = true;
            }

            return(_client);
        }
        public static GroovesharkClient GetClient()
        {
            if (_client == null)
            {
                _client = new GroovesharkClient(true, null, true, null);
                _client.UseGZip = true;
            }

            return _client;
        }