// Token: 0x06000182 RID: 386 RVA: 0x000080DC File Offset: 0x000062DC
        public IProtocolProvider BindProtocolProviderInstance(Downloader downloader)
        {
            bool flag = this.protocolProviderType == null;

            if (flag)
            {
                this.BindProtocolProviderType();
            }
            bool flag2 = this.provider == null;

            if (flag2)
            {
                this.provider = ProtocolProviderFactory.CreateProvider(this.protocolProviderType, downloader);
            }
            return(this.provider);
        }