PlayerIO

The fastest way to build online games without breaking a sweat.

.NET Client Reference

Multiplayer  class documentationClass GameFS

Namespace: PlayerIOClient
Language: C# / .NET

The Player.IO GameFS Service

Here is a simple example on how to use GameFS:

Methods

 
public string
GetUrl (string path, bool secure)

Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet.

public string
GetUrl (string path)

Converts a GameFS path (like '/mygame.swf') into a full url, that can be downloaded over the internet.

GameFS.GetUrl

public string
GetUrl (string path, bool secure)

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
GetUrl (string path)

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'