Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your default.aspx page will have an <code>&lt;object&gt;</code> tag where the Silverlight plugin is loaded. You can added a <code>&lt;param name="initParams</code> value="clientID=192.168.1.12"<code>&gt;</code> so it looks something like:-</p> <pre><code>&lt;form id="form1" runat="server" style="height:100%"&gt; &lt;div id="silverlightControlHost"&gt; &lt;object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"&gt; &lt;param name="source" value="ClientBin/Silverlight3App.xap"/&gt; &lt;param name="onError" value="onSilverlightError" /&gt; &lt;param name="background" value="white" /&gt; &lt;param name="minRuntimeVersion" value="3.0.40818.0" /&gt; &lt;param name="autoUpgrade" value="true" /&gt; &lt;param name="initParams` value="clientID=192.168.1.12"`&gt; &lt;a href="http://go.microsoft.com/fwlink/?LinkID=149156&amp;v=3.0.40818.0" style="text-decoration:none"&gt; &lt;img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/&gt; &lt;/a&gt; &lt;/object&gt;&lt;iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"&gt;&lt;/iframe&gt;&lt;/div&gt; &lt;/form&gt; </code></pre> <p>Except of course you wouldn't hardcode the IP address but you'd inject that with some VB.NET code (I don't do VB.NET).</p> <p>The initParams parameter is a set of name=value pairs that are exposed in Silverlight as a <code>IDictionary(Of String, String)</code>. You can get this dictionary from the Application Startup event arguments or from <code>Application.Current.Host.InitParams</code>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload