<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>XAML "for real" / XAML "dans la vraie vie"</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/luc/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/luc/feed.xml</link>
    <description>Luc Vo Van&amp;#039;s Blog</description>
    <lastBuildDate>Tue, 16 Apr 2019 05:17:21 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>TechDays 2012: Productivité XAML en Entreprise et WPF/XAML UI : Chasse aux Fuites Mémoire – Webcasts disponibles en ligne!</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/techdays-2012-productivit-xaml-en-entreprise-et-wpfxaml-ui-chasse-aux-fuites-mmoire-webcasts-disponibles-en-ligne</link>
      <pubDate>Mon, 09 Apr 2012 23:55:47 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2012/04/09/techdays-2012-productivit-xaml-en-entreprise-et-wpfxaml-ui-chasse-aux-fuites-mmoire-webcasts-disponibles-en-ligne/</guid>
      <description><![CDATA[Les deux sessions sont désormais disponibles en webcast sur le site des TechDays     Améliorez votre...]]></description>
      <content:encoded><![CDATA[<p>Les deux sessions sont désormais disponibles en webcast sur le site des TechDays</p>  <ul>   <li><font size="4"><a href="https://www.microsoft.com/france/mstechdays/programmes/parcours.aspx?SessionID=b24b7a89-ddad-47ad-a51b-1b4894b0eb3b#&amp;fbid=Bz1jy2LaWje" target="_blank">Améliorez votre productivité XAML en Entreprise</a></font>       <br /><a href="https://www.microsoft.com/france/mstechdays/programmes/parcours.aspx?SessionID=b24b7a89-ddad-47ad-a51b-1b4894b0eb3b#&amp;fbid=Bz1jy2LaWje" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/3660.image_38229E5F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/3660.image_5F00_38229E5F.png" width="330" height="186" /></a> </li> </ul>  <p>&#160;</p>  <ul>   <li><font size="4"><a href="https://www.microsoft.com/france/mstechdays/programmes/parcours.aspx?SessionID=c47c3be7-e902-48c9-898a-424d3757f7b8#&amp;fbid=Bz1jy2LaWje" target="_blank">WPF/XAML UI : Chasse aux Fuites Mémoire</a></font>       <br /><a href="https://www.microsoft.com/france/mstechdays/programmes/parcours.aspx?SessionID=c47c3be7-e902-48c9-898a-424d3757f7b8#&amp;fbid=Bz1jy2LaWje" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/5758.image_3671D28B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/5758.image_5F00_3671D28B.png" width="334" height="190" /></a> </li> </ul>  <p>Merci d’avoir été si nombreux à nous avoir suivi sur place et en ligne. Rendez-vous l’année prochaine !</p>]]></content:encoded>
    </item>
    <item>
      <title>TechDays 2012 : Vos questions pour la session "Améliorez votre productivité XAML en entreprise"</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/techdays-2012-vos-questions-pour-la-session-amliorez-votre-productivit-xaml-en-entreprise</link>
      <pubDate>Thu, 19 Jan 2012 19:08:00 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2012/01/19/techdays-2012-vos-questions-pour-la-session-amliorez-votre-productivit-xaml-en-entreprise/</guid>
      <description><![CDATA[Comme l'année dernière, je présenterai deux sessions liées aux technologies XAML lors des prochains...]]></description>
      <content:encoded><![CDATA[Comme l'année dernière, je présenterai deux sessions liées aux technologies XAML lors des prochains TechDays. Le mardi 7 février, la session "Améliorez votre productivité XAML en entreprise" sera dédiée aux problématiques rencontrées tous les jours par les développeurs Silverlight, WPF ou Windows Phone dans un cadre professionnel. Afin de la faire correspondre au mieux à vos attentes, Thomas et moi vous proposons de nous envoyer les sujets que vous souhaiteriez que nous abordions en laissant un commentaire sur un de nos blogs.

https://www.microsoft.com/france/mstechdays/programmes/parcours.aspx#SessionID=b24b7a89-ddad-47ad-a51b-1b4894b0eb3b
https://blog.thomaslebrun.net/

Venez nombreux!]]></content:encoded>
    </item>
    <item>
      <title>Publication sur le Marketplace Windows Phone : Publique, Cachée ou Beta</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/publication-sur-le-marketplace-windows-phone-publique-cache-ou-beta</link>
      <pubDate>Mon, 03 Oct 2011 14:28:00 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2011/10/03/publication-sur-le-marketplace-windows-phone-publique-cache-ou-beta/</guid>
      <description><![CDATA[Les nouveautés liées à l’arrivée de Mango ne se cantonnent pas au système d’exploitation. Le...]]></description>
      <content:encoded><![CDATA[<p>Les nouveautés liées à l’arrivée de Mango ne se cantonnent pas au système d’exploitation. Le Marketplace a également été mis à jour et permet désormais de publier ses applications de trois manières différentes.</p>  <p><u><strong>Publique</strong></u></p>  <p>La publication dite <em>publique</em> est le mode par défaut. Elle permet de distribuer une application qui, après validation, sera accessible à tous les utilisateurs de Windows Phone dans les régions sélectionnées.</p>  <p>Pour distribuer publiquement une application, il suffit de suivre la <a href="https://msdn.microsoft.com/fr-fr/library/ff941089(v=vs.92).aspx">procédure par défaut</a> (en anglais) de soumission sur AppHub.</p>  <p><u><strong>Cachée (privée)</strong></u></p>  <p>La publication <em>cachée</em> permet aux utilisateurs ayant connaissance d’une URI spécifique (de la forme <font size="2">zune://navigate/?appid=…</font>) de télécharger l’application. Contrairement à la distribution publique, les applications cachées n’apparaissent pas dans les résultats de recherche du Marketplace, mais toute personne disposant de l’URI pourra l’installer. Notons que les applications cachées peuvent être payantes et que le processus de certification des applications cachées est rigoureusement identique à celui utilisé pour les applications publiques.</p>  <p>Pour distribuer une application cachée sélectionnez pour <em>Public Marketplace</em> (l’application sera en effet sur le Marketplace public, mais non trouvable). Puis à l’étape <em>test</em> pour <em>Publish options</em>, sélectionnez <em>As soon as it’s certified, but make it hidden</em></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/2146.image_02BE1A36.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/2146.image_5F00_02BE1A36.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/4721.image_thumb_125D63A0.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/4721.image_5F00_thumb_5F00_125D63A0.png" width="481" height="369" /></a></p>  <p>&#160;</p>  <p><u><strong>Private Beta</strong></u></p>  <p>La publication <em>private beta</em> a pour objectif de mettre gratuitement une application à disposition pour un temps limité à un groupe précis de testeurs, avant une publication publique ou privée. Le groupe de testeur est défini par un ensemble de Live ID, et l’application pourra s’exécuter uniquement sur leurs téléphones pour une durée maximale de 90 jours. A la fin de ce délai, l’application ne démarrera plus et sera automatiquement désinstallée. Notons que les téléphones des testeurs n’ont pas à être débloqués pour exécuter des applications en beta, et que les testeurs n’ont pas besoin d’avoir un compte développeur.</p>  <p>Les applications beta passent par un processus <em>automatique</em> de validation, moins strict que celui utilisé pour la certification. Les applications ainsi distribuées sont donc disponibles plus rapidement que pour les publications publiques ou cachées (généralement sous 24h). Une fois l’application sortie de sa période beta, le développeur pourra choisir de la distribuer via le processus standard de certification et de publication.</p>  <p>Pour publier une application en mode beta, il faut choisir l’option <em>Private Beta Test</em> dans la première page du processus de soumission d’application.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/1512.image_4A1F81F6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/1512.image_5F00_4A1F81F6.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/8053.image_thumb_270F1086.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/8053.image_5F00_thumb_5F00_270F1086.png" width="390" height="358" /></a></p>  <p>Les applications en beta étant forcément gratuites, l’étape Price ne sera pas affichée. Lors de l’étape <em>test</em> vous pourrez saisir les Live IDs qui auront l’autorisation de télécharger l’application.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/0042.image_7553F330.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/0042.image_5F00_7553F330.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/5734.image_thumb_4066EDF3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/5734.image_5F00_thumb_5F00_4066EDF3.png" width="456" height="296" /></a></p>  <p>Peu après avoir cliquer sur le bouton <em>Submit</em> vous recevrez un mail précisant l’URI permettant d’accéder à l’application. Notez qu’un délai de 24h peut être observé entre la réception du mail et la possibilité de télécharger l’application.</p>  <p>Vous pouvez à tout moment modifier la liste des participants ou terminer la beta en accédant aux informations de votre application : </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/8484.image_239D5311.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/8484.image_5F00_239D5311.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/2110.image_thumb_21EC873D.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-81-metablogapi/2110.image_5F00_thumb_5F00_21EC873D.png" width="197" height="260" /></a></p>  <p>&#160;</p>  <p>En espérant que ces informations vous auront été utiles! Et merci à <a href="https://blogs.msdn.com/b/pierreca/">Pierre Cauchois</a>, notre guru préféré de Windows Phone, pour la relecture de cet article.</p>]]></content:encoded>
    </item>
    <item>
      <title>Webcasts après-midi du dev - Windows Phone “Mango”</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/webcasts-aprs-midi-du-dev-windows-phone-mango</link>
      <pubDate>Mon, 19 Sep 2011 01:29:37 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2011/09/19/webcasts-aprs-midi-du-dev-windows-phone-mango/</guid>
      <description><![CDATA[Alors que la disponibilité de Windows Phone Mango approche à grand pas, n’hésitez pas à jeter un...]]></description>
      <content:encoded><![CDATA[<p>Alors que la disponibilité de Windows Phone Mango approche à grand pas, n’hésitez pas à jeter un oeil aux webcasts de l’après-midi du dev consacrée à Mango !</p>  <p>Pour faciliter la visualisation et directement au coeur des sujets le contenu est présenté sous forme de plusieurs webcasts courtes, ciblant chacune une des nouvelles fonctionnalités de l’OS : live tiles, tâches de fond, intégration XNA, nouveautés du Marketplace etc.</p>  <p><a title="https://msdn.microsoft.com/fr-fr/windowsphone/hh310314" href="https://msdn.microsoft.com/fr-fr/windowsphone/hh310314">https://msdn.microsoft.com/fr-fr/windowsphone/hh310314</a></p>  <p>Le Marketplace accepte depuis quelques semaines les applications ciblant Mango : faites partie des pionniers de Mango en soumettant vos applications dès aujourd’hui, et soyez présent dès le jour du lancement !</p>]]></content:encoded>
    </item>
    <item>
      <title>Après-midi du développement le 1er Juin : Windows Phone “Mango”</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/aprs-midi-du-dveloppement-le-1er-juin-windows-phone-mango</link>
      <pubDate>Sat, 28 May 2011 07:14:00 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2011/05/28/aprs-midi-du-dveloppement-le-1er-juin-windows-phone-mango/</guid>
      <description><![CDATA[Je co-animerai un apr&egrave;s-midi du d&eacute;veloppement dans les locaux de Microsoft France le...]]></description>
      <content:encoded><![CDATA[<p>Je co-animerai un <a href="https://msdn.microsoft.com/fr-fr/gg416477">apr&egrave;s-midi du d&eacute;veloppement</a> dans les locaux de Microsoft France le mercredi 1er Juin prochain. <a href="https://blogs.msdn.com/b/eternalcoding/">David</a>, <a href="https://blogs.msdn.com/pierreca/">Pierre</a>, Alex et moi-m&ecirc;me vous pr&eacute;senterons les nombreuses nouveaut&eacute;s de la <a href="https://www.microsoft.com/presspass/presskits/windowsphone/">prochaine version de Windows Phone</a> nom de code &ldquo;Mango&rdquo;. Au programme: des d&eacute;mos, du code et surement un peu d&rsquo;humour potache.</p>
<p>Venez nombreux !</p>]]></content:encoded>
    </item>
    <item>
      <title>PowerShell : Getting the hash value for a string</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/powershell-getting-the-hash-value-for-a-string</link>
      <pubDate>Fri, 21 Jan 2011 12:40:01 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2011/01/21/powershell-getting-the-hash-value-for-a-string/</guid>
      <description><![CDATA[A simple yet often useful scripting task is getting the hash value for a string. Since I recently...]]></description>
      <content:encoded><![CDATA[<p>A simple yet often useful scripting task is getting the hash value for a string. Since I recently wrote this very short function for my colleague Laurent Banon (<a href="https://blogs.msdn.com/lbanon/">blog</a>) allow me to share it with you.</p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff"><font style="font-size: ">function</font></font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#5f9ea0">Hash</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$textToHash</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font face="Consolas"><font style="font-size: ">{</font></font></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hasher</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><b><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#5f9ea0">new-object</font></span></b><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: " color="#800000">System.Security.Cryptography.SHA256Managed</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$toHash</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> [</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#008080">System.Text.Encoding</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">]::</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#8b4513">UTF8</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">.</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#8b4513">GetBytes</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$textToHash</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hashByteArray</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hasher</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">.ComputeHash(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$toHash</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff">foreach</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$byte</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff">in</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hashByteArray</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font face="Consolas"><font style="font-size: ">&#160;&#160;&#160; {</font></font></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$res</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">+=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$byte</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">.ToString()</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font face="Consolas"><font style="font-size: ">&#160;&#160;&#160; }</font></font></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff">return</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$res</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">;</font></span></font></p>  <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt"><font face="Consolas"><font style="font-size: ">}</font></font></span><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 9.0pt"></span></p>  <p>And its usage :</p>  <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><font face="Consolas"><b style="mso-bidi-font-weight: normal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt">PS #&gt;</font></span></b><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt"> . Hash.ps1 </font></span></font></p>  <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><font face="Consolas"><b style="mso-bidi-font-weight: normal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt">PS #&gt; </font></span></b><font style="font-size: 14pt"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US">Hash(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font color="#800000">&quot;hi&quot;</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt">)</font></span><span style="color: ; mso-ansi-language: en-us" lang="EN-US"></span></font></p>  <p>Instead of SHA256, you can use <a href="https://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm(v=VS.100).aspx">other hashing algorithms</a> like the ones available by default in .NET 3.5 ou 4 :</p>  <ul>   <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.md5.aspx">System.Security.Cryptography.MD5</a> </li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.ripemd160.aspx">System.Security.Cryptography.RIPEMD160</a> </li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha1.aspx">System.Security.Cryptography.SHA1</a> </li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha256.aspx">System.Security.Cryptography.SHA256</a> </li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha384.aspx">System.Security.Cryptography.SHA384</a> </li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha512.aspx">System.Security.Cryptography.SHA512</a> </li> </ul>  <p>Happy scripting!</p>]]></content:encoded>
    </item>
    <item>
      <title>PowerShell : Hasher une chaîne de caractères</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/powershell-hasher-une-chane-de-caractres</link>
      <pubDate>Fri, 21 Jan 2011 12:37:45 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2011/01/21/powershell-hasher-une-chane-de-caractres/</guid>
      <description><![CDATA[Une fonctionnalité simple, mais souvent nécessaire dans les scripts PowerShell : obtenir le hash...]]></description>
      <content:encoded><![CDATA[<p>Une fonctionnalité simple, mais souvent nécessaire dans les scripts PowerShell : obtenir le hash d’une chaîne de caractères. En ayant écrit une pour mon collègue Laurent Banon (<a href="https://blogs.msdn.com/lbanon/">blog</a>), je me permet de la partager avec vous dans ce post.</p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff"><font style="font-size: ">function</font></font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#5f9ea0">Hash</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$textToHash</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font face="Consolas"><font style="font-size: ">{</font></font></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hasher</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><b><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#5f9ea0">new-object</font></span></b><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: " color="#800000">System.Security.Cryptography.SHA256Managed</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$toHash</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> [</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#008080">System.Text.Encoding</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">]::</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#8b4513">UTF8</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">.</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#8b4513">GetBytes</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$textToHash</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hashByteArray</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hasher</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">.ComputeHash(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$toHash</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff">foreach</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US">(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$byte</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff">in</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$hashByteArray</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">)</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font face="Consolas"><font style="font-size: ">&#160;&#160;&#160; {</font></font></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$res</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#ff0000">+=</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$byte</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">.ToString()</font></span></font></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font face="Consolas"><font style="font-size: ">&#160;&#160;&#160; }</font></font></span></p>  <p style="margin: 0cm 0cm 0pt; text-autospace: " class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">&#160;&#160;&#160; </font></span><font style="font-size: "><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#0000ff">return</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"> </span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font color="#800080">$res</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt" lang="EN-US"><font style="font-size: ">;</font></span></font></p>  <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: ; color: ; font-size: ; mso-fareast-language: fr; mso-bidi-font-size: 9.0pt"><font face="Consolas"><font style="font-size: ">}</font></font></span><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 9.0pt"></span></p>  <p>Et son utilisation :</p>  <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><font face="Consolas"><b style="mso-bidi-font-weight: normal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt">PS #&gt;</font></span></b><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt"> . Hash.ps1 </font></span></font></p>  <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><font face="Consolas"><b style="mso-bidi-font-weight: normal"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt">PS #&gt; </font></span></b><font style="font-size: 14pt"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US">Hash(</span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font color="#800000">&quot;hi&quot;</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-fareast-language: fr" lang="EN-US"><font style="font-size: 14pt">)</font></span><span style="color: ; mso-ansi-language: en-us" lang="EN-US"></span></font></p>  <p>Notez que d’autres algorithmes de hashage peuvent êtres utilisés. On pourra donc substituer au SHA256 un des autres <a href="https://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm(v=VS.100).aspx">algorithmes disponibles</a> par défaut dans .NET 3.5 ou 4 :</p>  <ul>   <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.md5.aspx">System.Security.Cryptography.MD5</a></li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.ripemd160.aspx">System.Security.Cryptography.RIPEMD160</a></li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha1.aspx">System.Security.Cryptography.SHA1</a></li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha256.aspx">System.Security.Cryptography.SHA256</a></li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha384.aspx">System.Security.Cryptography.SHA384</a></li>    <li><a href="https://msdn.microsoft.com/fr-fr/library/system.security.cryptography.sha512.aspx">System.Security.Cryptography.SHA512</a></li> </ul>  <p>Bon scripting!</p>]]></content:encoded>
    </item>
    <item>
      <title>Sessions Silverlight, WPF et Windows Phone aux TechDays 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/sessions-silverlight-wpf-et-windows-phone-aux-techdays-2011</link>
      <pubDate>Sun, 16 Jan 2011 05:15:00 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2011/01/16/sessions-silverlight-wpf-et-windows-phone-aux-techdays-2011/</guid>
      <description><![CDATA[Les TechDays 2011 auront lieu &agrave; Palais des Congr&egrave;s de Paris, du 8 au 10 F&eacute;vrier...]]></description>
      <content:encoded><![CDATA[<p>Les <a href="https://www.microsoft.com/france/mstechdays/">TechDays 2011</a> auront lieu &agrave; Palais des Congr&egrave;s de Paris, du 8 au 10 F&eacute;vrier prochains. J&rsquo;y co-animerai deux sessions le mardi 8 F&eacute;vrier, l&rsquo;une sur l&rsquo;utilisation de Silverlight et WPF en entreprise, l&rsquo;autre sur l&rsquo;optimisation des performances sur Windows Phone 7. Lorsque je ne serai pas en session, je vous invite &agrave; venir me retrouver et discuter sur le stand <a href="https://www.microsoft.fr/services">Microsoft Services</a>.</p>
<p><strong><a href="https://www.microsoft.com/france/mstechdays/programmes/Session.aspx?CellID=f81f5b4a-188a-4207-b406-2fbfc84a51a1&amp;DomID=ebe5a645-5d4a-4fcd-ad4b-c8093acb3121">Silverlight et WPF en entreprise : retours d'exp&eacute;rience, bonnes pratiques et techniques avanc&eacute;es</a> </strong><br /><em>Le mardi 8 f&eacute;vrier 2011, 17:30 - 18:30</em></p>
<p>Silverlight et WPF permettent de r&eacute;aliser des applications d'entreprise composites &agrave; la fois riches et performantes. Cette session d&eacute;crit, par le biais de retours d'exp&eacute;rience et de code, des techniques &eacute;prouv&eacute;es pour la r&eacute;alisation de telles applications. Nous traiterons dans un premier temps des patterns d'applications composites (modulaires) et de la gestion des tests unitaires. Nous aborderons ensuite les bonnes pratiques d'int&eacute;gration permettant aux applications de fournir des exp&eacute;riences utilisateurs riches, tout en restant performantes et maintenables.</p>
<p><strong><span style="text-decoration: underline;"><a href="https://www.microsoft.com/france/mstechdays/programmes/Session.aspx?CellID=4efae5e9-d157-4a4b-94fc-0a7ce0ad5a48&amp;DomID=eeb53185-de04-4b99-b10d-e4ecce8fe61b">Performances et optimisation des applications Windows Phone 7</a> <br /></span></strong><em>Le mardi 8 f&eacute;vrier 2011, 13:00 - 14:00</em></p>
<p>Fill Rate, UI Thread, Compositor Thread, Bitmap caching, asynchronisme sont les mots clefs de cette session dont le but est de vous aider &agrave; cr&eacute;er des applications qui fr&ocirc;lent les 60 images par secondes sans pour autant sacrifier la richesse de l'interface ! <br />Venez en apprendre plus sur le moteur de rendu de Silverlight pour Windows Phone afin de le ma&icirc;triser et de comprendre les probl&egrave;mes de performances que vous pouvez rencontrer sur des devices aux ressources limit&eacute;es.</p>
<p>Venez nombreux !</p>]]></content:encoded>
    </item>
    <item>
      <title>Preventing the Pivot or Panorama controls from scrolling</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/preventing-the-pivot-or-panorama-controls-from-scrolling</link>
      <pubDate>Mon, 22 Nov 2010 07:51:00 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2010/11/22/preventing-the-pivot-or-panorama-controls-from-scrolling/</guid>
      <description><![CDATA[The Panorama and Pivot are great, defining assets of the Windows Phone 7 user experience. Their main...]]></description>
      <content:encoded><![CDATA[<p>The <a href="https://msdn.microsoft.com/en-us/library/microsoft.phone.controls.panorama(VS.92).aspx">Panorama</a> and <a href="https://msdn.microsoft.com/en-us/library/microsoft.phone.controls.pivot(VS.92).aspx">Pivot</a> are great, defining assets of the Windows Phone 7 user experience. Their main role is to display a wealth of information panning horizontally, and eventually enable item selection. Even though these controls are not designed to handle complex user input, you may stumble upon some scenarios where it might be necessary.</p>  <p>If you encounter such a scenario you will undoubtedly notice that the Panorama/Pivot will always take precedence when it comes to handling the panning manipulations. For example, placing a cursor within a TextBox will cause the hosting Panorama/Pivot to pan horizontally as the finger moves left or right to place the cursor. For the exact same reason Sliders and ToggleSwitches tend do not behave as expected.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/3808.image_6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-02-81-metablogapi/3808.image_5F00_6.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/2500.image_thumb_2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-02-81-metablogapi/2500.image_5F00_thumb_5F00_2.png" width="252" height="296" /></a></p>  <p>I have implemented the BlocksPan.IsEnabled attached property to address this scenario. Setting it to true on a control makes any manipulation on the control block the panning of the hosting Panorama/Pivot. The usage is straightforward:</p>  <p style="line-height: normal; margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff"><font style="font-size: 9pt">&lt;</font></font></span><font style="font-size: 9pt"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">controls</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">Panorama</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> Title</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">=&quot;MY APPLICATION&quot;</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> x</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000">Name</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font style="font-size: 9pt" color="#0000ff">=&quot;panorama&quot;&gt;</font></span></font><span style="font-family: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"></span></p>  <p style="line-height: normal; margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff"><span style="mso-spacerun: yes"><font style="font-size: 9pt">&#160; </font></span><font style="font-size: 9pt">&lt;</font></font></span><font style="font-size: 9pt"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">controls</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">PanoramaItem</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> Header</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font style="font-size: 9pt" color="#0000ff">=&quot;First item&quot;&gt;</font></span></font></p>  <p style="line-height: normal; margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff"><span style="mso-spacerun: yes"><font style="font-size: 9pt">&#160;&#160;&#160; </font></span><font style="font-size: 9pt">&lt;</font></font></span><font style="font-size: 9pt"><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">TextBox</font></span><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> <font style="background-color: #ffff00">pcExt</font></font></span><font style="background-color: #ffff00"><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000">BlocksPan.IsEnabled</font></span><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">=&quot;True&quot;</font></span></font><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> Text</font></span></font><span style="font-family: ; color: ; font-size: ; mso-bidi-font-size: 14.0pt; mso-ansi-language: en-us" lang="EN-US"><font style="font-size: 9pt" color="#0000ff">=&quot;This textbox blocks the panning&quot;/&gt;</font></span></font></p>  <p>Technically, the idea is to make the parent Panorama/Pivot invisible to hit test when a manipulation is started on a child control where this attached property is set. You can find the source code and an example attached to this post.</p>  <p><u>Note:</u> Allowing complex user input within a Panorama or a Pivot is not a recommended UX practice on Windows Phone, furthermore expecting horizontal manipulations on controls hosted in a Panorama/Pivot results in an “ergonomic ambiguity”. This extension is only intended to target the few scenarios where creating another dedicated level of navigation does not make sense.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/09/49/63/WP7BlocksPan.zip" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-09-49-63/WP7BlocksPan.zip">WP7BlocksPan.zip</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Empêcher le défilement du Pivot ou du Panorama</title>
      <link>https://docs.microsoft.com/archive/blogs/luc/empcher-le-dfilement-du-pivot-ou-du-panorama</link>
      <pubDate>Mon, 22 Nov 2010 01:57:00 GMT</pubDate>
      <dc:creator><![CDATA[lvovan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/luc/2010/11/22/empcher-le-dfilement-du-pivot-ou-du-panorama/</guid>
      <description><![CDATA[Les contrôles Panorama et Pivot sont des éléments différenciants et fondamentaux de l’expérience...]]></description>
      <content:encoded><![CDATA[<p>Les contrôles <a href="https://msdn.microsoft.com/fr-fr/library/microsoft.phone.controls.panorama(VS.92).aspx">Panorama</a> et <a href="https://msdn.microsoft.com/fr-fr/library/microsoft.phone.controls.pivot(VS.92).aspx">Pivot</a> sont des éléments différenciants et fondamentaux de l’expérience utilisateur Windows Phone 7. Leur rôle principal consiste à afficher un nombre important d’information horizontalement, et d’éventuellement permettre la sélection d’un élément. Même si ces contrôles ne sont pas conçus pour les scénarios d’entrée utilisateur complexes, par exemple de la saisie de valeur, cela peut dans certains cas s’avèrer nécessaire (voire la note à la fin du billet).</p>  <p>Si vous êtes déjà familier avec les contrôles Panorama/Pivot, vous aurez sans aucun doute remarqué que ces derniers ont toujours la priorité en matière de gestion des manipulations. Par exemple, placer un curseur dans une TextBox située dans un Panorama/Pivot s’avère difficile voire impossible : le contrôle hôte, plutôt que le curseur de texte, défilera à droite ou à gauche lorsque le doigt glisse horizontalement sur l’écran. Les contrôles Slider et ToggleSwitch sont d’autres exemples similaires.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/0726.image_thumb[4]_2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-02-81-metablogapi/0726.image_5F00_thumb_5B00_4_5D005F00_2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image_thumb[4]" border="0" alt="image_thumb[4]" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/81/metablogapi/7103.image_thumb[4]_thumb.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-02-81-metablogapi/7103.image_5F00_thumb_5B00_4_5D005F00_thumb.png" width="252" height="296" /></a></p>  <p>J’ai pour ces cas précis, implémenté la propriété attachée BlocksPan.IsEnabled. La définir à true sur un contrôle rend les manipulations effectuée sur ce dernier prioritaire par rapport au Panorama/Pivot dans lequel il est hébergé. Son utilisation est simple :</p>  <p style="line-height: normal; margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff"><font style="font-size: 9pt">&lt;</font></font></span><font style="font-size: 9pt"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">controls</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">Panorama</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> Title</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">=&quot;MY APPLICATION&quot;</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> x</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000">Name</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font style="font-size: 9pt" color="#0000ff">=&quot;panorama&quot;&gt;</font></span></font><span style="font-family: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"></span></p>  <p style="line-height: normal; margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff"><span style="mso-spacerun: yes"><font style="font-size: 9pt">&#160; </font></span><font style="font-size: 9pt">&lt;</font></font></span><font style="font-size: 9pt"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">controls</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#a31515">PanoramaItem</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font color="#ff0000"> Header</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us" lang="EN-US"><font style="font-size: 9pt" color="#0000ff">=&quot;First item&quot;&gt;</font></span></font></p>  <p style="line-height: normal; margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" class="MsoNormal"><font face="Consolas"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font color="#0000ff"><span style="mso-spacerun: yes"><font style="font-size: 9pt">&#160;&#160;&#160; </font></span><font style="font-size: 9pt">&lt;</font></font></span><font style="font-size: 9pt"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font color="#a31515">TextBox</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font color="#ff0000"> <font style="background-color: #ffff00">pcExt</font></font></span><font style="background-color: #ffff00"><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font color="#0000ff">:</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font color="#ff0000">BlocksPan.IsEnabled</font></span><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font color="#0000ff">=&quot;True&quot;</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font color="#ff0000"> Text</font></span></font><span style="font-family: ; color: ; font-size: ; mso-ansi-language: en-us; mso-bidi-font-size: 14.0pt" lang="EN-US"><font style="font-size: 9pt" color="#0000ff">=&quot;This textbox blocks the panning&quot;/&gt;</font></span></font></p>  <p>Techniquement, l’idée est de rendre le Panorama/Pivot parent invisible au hit test lorsqu’une manipulation est démarrée sur le contrôle décoré par la propriété attachée. Un exemple et le code source sont disponibles dans le projet attaché.</p>  <p><u>Note:</u> Permettre les saisies complexes au sein d’un Panorama/Pivot n’est pas une pratique recommandée car elle introduit une “ambiguité ergonomique” qui rend l’interface utilisateur moins déterministes. Cette extension a pour but d’être utilisée dans les scénarios simples pour lesquelles la création d’un niveau de navigation supplémentaire pour la saisie n’aurait pas de sens.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/09/45/96/WP7BlocksPan.zip" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-09-45-96/WP7BlocksPan.zip">WP7BlocksPan.zip</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>