FacebookHtmlHelperExtensions.FacebookSignedRequest Method

Returns the signed_request in a hidden input element.

Namespace:  Microsoft.AspNet.Mvc.Facebook
Assembly:  Microsoft.AspNet.Mvc.Facebook (in Microsoft.AspNet.Mvc.Facebook.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FacebookSignedRequest ( _
    htmlHelper As HtmlHelper _
) As IHtmlString
'Usage
Dim htmlHelper As HtmlHelper 
Dim returnValue As IHtmlString 

returnValue = htmlHelper.FacebookSignedRequest()
public static IHtmlString FacebookSignedRequest(
    this HtmlHelper htmlHelper
)
[ExtensionAttribute]
public:
static IHtmlString^ FacebookSignedRequest(
    HtmlHelper^ htmlHelper
)
static member FacebookSignedRequest : 
        htmlHelper:HtmlHelper -> IHtmlString
public static function FacebookSignedRequest(
    htmlHelper : HtmlHelper
) : IHtmlString

Parameters

Return Value

Type: System.Web.IHtmlString
The signed_request in a hidden input element.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.108) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.108).

See Also

Reference

FacebookHtmlHelperExtensions Class

Microsoft.AspNet.Mvc.Facebook Namespace