public override string[] GetValues(int index)
        {
#if NETFX_CORE
            throw new PlatformNotSupportedException();
#else
            return(_actual.GetValues(index));
#endif
        }
Exemplo n.º 2
0
        private String[] getResponseData(System.Net.WebHeaderCollection responseHeaders, String Key)
        {
            try
            {
                if (responseHeaders.GetValues(Key) != null)
                {
                    return(responseHeaders.GetValues(Key));
                }
                else
                {
                    return(null);
                }
            }
            catch (Exception ex)
            {
                using (eventLogger ev = new eventLogger("itumRadio"))
                {
                    ev.writeLog(String.Format("Exception in getResponseData:\n\n{0}", ex.ToString()), System.Diagnostics.EventLogEntryType.Error);
                }

                return(null);
            }
        }