.NET Client Reference
Class GameFS
Namespace: PlayerIOClient
Language: C# / .NET
The Player.IO GameFS Service
Here is a simple example on how to use GameFS:
Methods | |||
---|---|---|---|
public string |
Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet. |
||
public string |
Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet. |
GameFS.GetUrl
public string |
|
Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet.
Important! Do not save or otherwise persist (bigdb, cookies, etc) the returned url, since the url will change over time.
Arguments
string | path |
The path of the file in the GameFS, including the initial slash. Examples: '/mygame.swf' or '/characters/bob.jpg' | |
bool | secure |
If true, this method returns a secure (https) url. |
GameFS.GetUrl
public string |
|
Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet.
Important! Do not save or otherwise persist (bigdb, cookies, etc) the returned url, since the url will change over time.
Arguments
string | path |
The path of the file in the GameFS, including the initial slash. Examples: '/mygame.swf' or '/characters/bob.jpg' |