public static async Task<InitResponse> Init() { InitResponse response = new InitResponse(); response.status = SERVICE_RESPONSE.NO_CONNECTION; try { var fileName = "debug.config"; var folder = ApplicationData.Current.LocalFolder; var file = await folder.GetFileAsync(fileName); var readthis = await FileIO.ReadTextAsync(file); string[] data = readthis.Split('|'); URL_BASE = data[0]; URL_BASE_SECURE = data[1]; response.status = SERVICE_RESPONSE.SUCCESS; response.Username = data[2]; response.Password = data[3]; } catch { } return response; }