Exemple #1
0
        private async Task <bool> ValidateRequestWrapperAsync()
        {
            if (RequestWrapper != null)
            {
                if (await RequestWrapper.CheckAvaliableAsync())
                {
                    return(true);
                }
            }
            string lolPath = ClientLocator.GetLolPath();

            if (lolPath == null)
            {
                return(false);
            }
            RequestWrapper = new RequestWrapper(lolPath);
            return(await RequestWrapper.CheckAvaliableAsync());
        }