How to detect whether pri resource is avilable in the Application

165 Views Asked by At

I have included PRI resource in UWP application and im loading with ResourceLoader as like below code

ResourceLoader.GetForCurrentView("ResourceName");

How to detect whether i'm having the file in the application. While using the above code, app is taking more time to process this code if the file is not available. If the file is available then app is loaded immediatly

Thanks

0

There are 0 best solutions below