Skip to main content
changed project URL as codeplex is going offline soon
Source Link
Pikalek
  • 13.4k
  • 5
  • 49
  • 54

You need to get a device first using StorageDevice.BeginShowSelector In the Async callback of that method, you can assign the device to your variable. Only then can you call methods on it.
See Getting a StorageDevice Asyncronously (MSDN).


I suggest using the EasyStorageEasyStorage helper classes that encapsulates a lot of the setup of loading/saving.

You need to get a device first using StorageDevice.BeginShowSelector In the Async callback of that method, you can assign the device to your variable. Only then can you call methods on it.
See Getting a StorageDevice Asyncronously (MSDN).


I suggest using the EasyStorage helper classes that encapsulates a lot of the setup of loading/saving.

You need to get a device first using StorageDevice.BeginShowSelector In the Async callback of that method, you can assign the device to your variable. Only then can you call methods on it.
See Getting a StorageDevice Asyncronously (MSDN).


I suggest using the EasyStorage helper classes that encapsulates a lot of the setup of loading/saving.

Source Link
George Duckett
  • 2.9k
  • 25
  • 30

You need to get a device first using StorageDevice.BeginShowSelector In the Async callback of that method, you can assign the device to your variable. Only then can you call methods on it.
See Getting a StorageDevice Asyncronously (MSDN).


I suggest using the EasyStorage helper classes that encapsulates a lot of the setup of loading/saving.