Assembly: RedCritterV1 (in RedCritterV1.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public class App : UserControl
Public Class App _ Inherits UserControl
Members
| All Members | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| AccountAuthorization |
This property is used in conjunction with the RedCritter Server APIs. It must be passed to your server in order for your server to access the RedCritter Server APIs for authentication and other calls to the ServerAPI web service.
| |
| AppAssemblyID |
Each time an App is uploaded it is assigned a unique AssemblyID. This will change each time your release a new version.
| |
| AppID |
The App's numeric ID in the system. Every App has a unique ID assigned at the time it is reserved.
| |
| AppName |
The App's configured name.
| |
| 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.
| |
| BaseURL |
The Base URL for the current RedCritter 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.
| |
| HasFocus |
Check this property at any time to determine if your App has focus in the Player. A value of true indicates it is currently playing.
| |
| HostMode |
Check HostMode to determine the context in which your App is running.
| |
| 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.
| |
| OnSQLResult |
You should not raise this event. It is used for internal communications with the Player.
| |
| 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.
| |
| SupportsHelp |
Set to true if your App has help and implements the OnShowHelp() method.
| |
| SupportsPreview |
We recommend that you build your App to support preview mode. This allows it to play on the RedCritter site on your App's page without the need for a logged in user. It also allows you to submit your App to be featured in Microsoft's Silverlight Gallery at www.silverlight.net.
| |
| SymetricKey |
Use this key for performing encryption with the Symetric encryption APIs.
| |
| User |
This object represents the current User. Depending on the user's privacy setting, only limited information may be available.
| |
| UserChannelAppID |
This property is used in conjunction with the RedCritter Server APIs. It must be passed to your server in order for your server to access the RedCritter Server APIs for authentication and other calls to the ServerAPI web service.
| |
| WantsFocus |
Set to false if your App has nothing to display. A false setting tells the player to skip over the App the next time its turn for focus comes.
|
Inheritance Hierarchy
System.Windows..::.DependencyObject
System.Windows..::.UIElement
System.Windows..::.FrameworkElement
System.Windows.Controls..::.Control
System.Windows.Controls..::.UserControl
RedCritterV1..::.App