AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantagePageTemplate..::..IsSearchAgent Property

Gets a value indicating whether this instance has been called by the search agent. Recognition rests on the search key, which is a credential and travels only in the AdvantageSearchAgent request header. A request that cannot present the key is never treated as the search agent — including when the search configuration is missing, since search-agent requests are granted access normal visitors don't get.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public bool IsSearchAgent { get; }

Field Value

true if this instance has been called by the search agent; otherwise, false.