Jump to content
LaunchBox Community Forums

IPlatform properties not returning any values


Recommended Posts

I'm attempting to pull back some of the various folders configured for a platform but all of the properties are empty/null despite actually being set.

 

Small example

Platform = PluginHelper.DataManager.GetPlatformByName("Sony Playstation 2");

System.Windows.Forms.MessageBox.Show(Platform.ManualsFolder); // empty value but 100% set in platform config
System.Windows.Forms.MessageBox.Show(Platform.VideosFolder);  // empty value but 100% set in platform config

 

Now the documentation doesn't state explicitly what they properties are but i think it's safe to assume it should be the path configured in the app, right? This a bug or am I doing it wrong?

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...