Пример #1
0
 private static bool InitRTCookieUsageBehaviorSupported()
 {
     return(RTApiInformation.IsPropertyPresent(
                "Windows.Web.Http.Filters.HttpBaseProtocolFilter",
                "CookieUsageBehavior"));
 }
Пример #2
0
 private static bool InitRTNoCacheSupported()
 {
     return(RTApiInformation.IsEnumNamedValuePresent(
                "Windows.Web.Http.Filters.HttpCacheReadBehavior",
                "NoCache"));
 }
Пример #3
0
 private static bool InitRTServerCustomValidationRequestedSupported()
 {
     return(RTApiInformation.IsEventPresent(
                "Windows.Web.Http.Filters.HttpBaseProtocolFilter",
                "ServerCustomValidationRequested"));
 }
Пример #4
0
 private static StatusBar GetCurrentStatusBarAsync()
 {
     return(ApiInformation.IsTypePresent(StatusBarString) ? StatusBar.GetForCurrentView() : null);
 }