<%@ Page Title="Duplicate Detection" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" %>
<%@ Register Assembly="AjaxUploader" Namespace="AjaxUploader.Controls" TagPrefix="au" %> 
<asp:Content ID="TitleContent" ContentPlaceHolderID="TitleContent" runat="server">Duplicate Detection - AjaxUploader v5.0 Demos</asp:Content>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeaderTitle" runat="server">Duplicate File Detection</asp:Content> 
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server"> 
<div class="demo-card"> <div class="demo-card-header">Duplicate File Detection</div> <div class="demo-card-body"> <p class="demo-description"> Prevent users from uploading the same file twice using <code>EnableDuplicateCheck="true"</code>.
 Use <code>DuplicateHashAlgorithm</code> to specify the hashing method for content-based detection.
 </p> <au:AjaxFileUpload ID="Uploader1" runat="server"
 AllowMultiple="true"
 EnableDuplicateCheck="true"
 DuplicateHashAlgorithm="sha256"
 ButtonText="Select Files"
 AutoUpload="true"
 ShowProgress="true" /> <div class="code-panel"> <pre><code>&lt;au:AjaxFileUpload ID="Uploader1" runat="server"
 AllowMultiple="true"
 EnableDuplicateCheck="true"
 DuplicateHashAlgorithm="sha256"
 ButtonText="Select Files"
 AutoUpload="true"
 ShowProgress="true" /&gt;</code></pre> </div> <p class="mt-3 text-muted"> Try selecting the same file twice to see it detected as a duplicate.
 </p> </div>
</div> 
</asp:Content>
