The App type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
AsymetricalDecrypt(String, String)
Performs asynchronous Asymetrical decryption on data passed back to the App from your Server.
AsymetricalEncrypt(String, String)
Performs asynchronous Asymetrical encryption for preparing encrypted data to send to your Server.
ClearNotification()()()
Removes your App's active notification if one exists.
GetProxyURI(String)
Generates a proxy URL given a destination URL. This is useful for accessing cross-domain URI based resources such as REST services or Images (GET method only). The returned proxy url eliminates CrossDomain.xml and ClientAccessPolicy.xml security restrictions.
GetRestProxyURI(String, App..::.HttpMethod, String, String, App..::.SettingCollection, App..::.SettingCollection)
Generates a REST Proxy URI for use in accessing REST resources while bypassing Cross Domain restrictions
GetSetting(String, String)
Retrieves an App Setting.
GetSettingsFromServer()()()
Reloads the App's settings from the remote server.
IsHTTPS()()()
Determines if the user is connected via HTTPS or HTTP
LogException(String, Exception)
Call this method to log errors to your App's Error page.
LogException(String, String, String)
Call this method to log errors to your App's Error page.
OnAsymetricalDecryptionComplete(String, String, Boolean)
Override this method and place code that your App will execute in response to the completion of a call to AsymetricalDecrypt().
OnAsymetricalEncryptionComplete(String, String, Boolean)
Override this method and place code that your App will execute in response to the completion of a call to AsymetricalEncrypt().
OnLoad()()()
Override this method and place your App's startup code in this section. This method will only be called once as your App is loaded for the first time.
OnModalBrowserClose(String)
Override this method and place code that your App will execute in response to the user closing a modal browser window that you have opened.
OnModalDialogClose(String, Boolean)
Override this method and place code that your App will execute in response to the user closing a modal dialog window that you have opened.
OnNotificationClick()()()
Override this method and place code that your App will execute in response to the user clicking on your App's active Notification.
OnSettingsLoaded(Boolean)
Notify the App that the Settings have been reloaded and are available through the GetSetting() method.
OnShowHelp()()()
Override this method and place code that displays your App's Help. Help is optional and the user will only have to option to siaply help if you have set your App's SupportsHelp property to true.
OnSQLCallComplete(String, XDocument, Parameters, Int32, Exception)
Override this method and place code that your App will execute in response to the completion of a SQL Call.
OnUnload()()()

Override this method and place your App's shutdown code in this section. This method will only be called once as your App is unloaded for the first time.

SaveSettings()()()
Call to save changes to your App's settings.
SetExternalNotification(String)

Call send an alert to the user's Desktop or Mobile device if the RedCritter client is minimized. Depending on user preferences, external alerts may not be sent.

SetNotification(String)

Call to display an alert in the Notification section of the player. Your App may have only 1 active notification at a time. Raising a notication while an existing notification is active, will replace the old notification with the new one.

When the user clicks on your App's notification, your App will recieve focus in the player and your App will receive an OnNotificationClick event. Often you will want to remove the notification at this time by calling ClearNotification().

SetSetting(String, String)
Set a settings value in memory.
ShowBrowser(Uri, Boolean)
Call to open a new non-modal browser window.
ShowModalBrowser(String, Uri, String, Boolean)
Call to open a new modal browser window.
ShowModalDialog(Uri, String, Boolean)
Call to open a new modal browser window.
SQLExecuteNonQuery(String, Command)
Performs asynchronous Asymetrical encryption for preparing encrypted data to send to your Server.
SQLFill(String, Command)
Performs asynchronous Asymetrical encryption for preparing encrypted data to send to your Server.

See Also