Skip to content

lethek/rdc.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css">table#columnTable
    {table-layout:fixed;
    background:#FFFFFF;
    border:0;
    margin:0;
    padding:0;
    width:100%;
    height:100%}
td#EdgeBorderColumn
    {width:10px;
    border:0px;
    margin:0;
    height:100%;
    background-color:#3366CC}
td#ToCColumn
    {background:#FFFFFF;
    width:300px;
    border:0;
    margin:0;
    vertical-align:top;
    padding-left:14px;
    padding-right:10px;
    padding-top:7px;
    text-decoration:none}
td#contentColumn
    {background:#FFFFFF;
    border:0;
    margin:0;
    padding:14px 5% 22px 10px;
    vertical-align:top;
    max-width:590}
.ToCLevel1
    {font-weight:bold;
    line-height:140%}
.ToCLevel2
    {margin-left:8px}
a
    {color:#000000}
#contentColumn a.TopOfPageLink
    {text-decoration:none}
#ToCColumn a
    {text-decoration:none}
#ToCColumn a:hover
    {text-decoration:underline}
body
    {background:#FFFFFF;
    color:#000000;
    font-family:Verdana,Arial,Sans-Serif;
    font-size:70%;
    font-style:normal;
    font-weight:normal;
    margin:0 0 0 0;
    padding:0 0 0 0;
    width:100%;
    height:100%;
    border-style:none;
    border-width:0}
a
    {color:#0000FF}
a:visited
    {color:#0000FF;
    text-decoration:underline}
a:link
    {color:#0000FF;
    text-decoration:underline}
a:hover
    {color:#FF0000;
    text-decoration:underline}
a:active
    {color:#FF0000;
    text-decoration:underline}
.runningHeader
    {padding:0px;
    border:0px;
    margin:0px}
div#techCenterLink
    {background-color:#5F5F5F;
    color:#FFFFFF;
    padding:5pt 12px 5pt 12px;
    margin:0 0 0 0;
    border-bottom:solid 1pt #919193;
    width:100%}
div#techCenterLink a
    {color:#FFFFFF;
    text-decoration:underline}
div#techCenterLink a:active
    {color:#FFFFFF;
    text-decoration:underline}
div#header
    {background-color:#3366CC;
    padding:15 13 15 20;
    margin:0 0 0 0;
    width:100%;
    border-style:solid;
    border-width:1 0 0 0;
    border-color:#333333;
    vertical-align:middle}
div#header h1
    {padding:0 0 0 0;
    margin:0 0 0 0;
    color:#FFFFFF;
    font-size:160%}
div#mainSection
    {padding:0 0 0 0;
    margin:0 0 0 0;
    width:100%;
    height:100%;
    border-width:0}
div#mainBody
    {padding:0 9 0 0;
    margin:0 0 0 0;
    width:100%;
    height:100%;
    border-style:none;
    border-width:0}
div#footer
    {font-size:90%;
    margin:0 0 0 0;
    padding:0 0 0 0;
    width:100%;
    border:0}
div.section
    {width:100%}
.heading
    {color:#000000;
    margin:9px 0px 9px 0px}
h1.heading
    {font-size:155%}
.subHeading
    {color:#000000;
    margin:9px 0px 9px 0px}
h3.subHeading
    {font-size:130%}
td#ToCColumn h4.subHeading
    {font-size:120%}
h4.subHeading
    {font-size:110%}
h5.subHeading
    {font-size:100%}
h6
    {font-weight:normal;
    font-size:100%}
img.procedure
    {border:0;
    margin-right:8}
.howToHeadingTable
    {background-color:Transparent;
    border:0;
    font-size:100%;
    width:100%}
.howToHeadingImgCell
    {background-color:Transparent;
    margin:0 0 0 0;
    padding-bottom:0;
    padding-top:3px;
    padding-left:0;
    padding-right:0;
    vertical-align:top;
    width:24px}
.howToHeadingTextCell
    {background-color:Transparent;
    margin:0 0 0 0;
    padding:0 0 0 0;
    padding-left:0;
    padding-right:0;
    vertical-align:middle}
table
    {border:0;
    font-size:100%;
    margin:3 0 9 0;
    width:100%}
th
    {background-color:#DDDDDD;
    vertical-align:bottom;
    text-align:left;
    font-weight:bold;
    color:#000000;
    padding:.2em;
    padding-left:.45em;
    padding-right:.5em}
td
    {background-color:#EEEEEE;
    vertical-align:top;
    padding:.2em;
    padding-left:.45em;
    padding-right:.5em}
img.note
    {border:0;
    margin-right:5}
span.alertTitle
    {padding:0;
    margin:0;
    font-weight:bold;
    vertical-align:text-bottom;
    height:100px;
    display:block}
.alertTable
    {background-color:Transparent;
    border:0;
    font-size:100%;
    margin:3 0 0 0;
    width:85%}
.alertTable tr
    {background-color:Transparent;
    margin:0 0 0 0;
    padding:0 0 0 0;
    vertical-align:middle}
.imgCell
    {background-color:Transparent;
    margin:0 0 0 0;
    padding:0 0 0 0;
    vertical-align:top;
    width:21px}
.txtCell
    {background-color:Transparent;
    font-weight:bold;
    margin:0 0 0 0;
    padding:0 0 0 0;
    vertical-align:middle}
.procHeadingCell
    {background-color:Transparent;
    font-weight:bold;
    margin:0 0 0 0;
    padding:1px 0 0 0;
    vertical-align:middle}
.alertCell
    {background-color:Transparent;
    margin:0 0 0 0;
    padding:0 0 0 0;
    vertical-align:middle}
p.alertImg
    {border:0;
    font-weight:bold;
    margin:0;
    padding:0;
    vertical-align:top;
    height:100%;
    width:100%}
div.alert
    {border:0;
    margin-right:15%;
    width:100%}
div.alert ul
    {margin:3px 1.5em 0em 1.5em;
    padding-left:0em;
    list-style-type:disc}
div.code
    {padding:0;
    margin:0}
div.code pre
    {font-family:Courier New;
    font-size:1.1em;
    color:#000000;
    padding:0;
    margin:3 0 9 0;
    word-wrap:break-word}
code
    {font-family:Courier New;
    font-size:1.1em;
    color:#000000}
dl
    {margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px}
dt
    {margin:3px 0px 0px 0px;
    padding:0px 0px 0px 0px}
dd
    {margin-bottom:9px;
    padding:0px 0px 0px 0px}
ul
    {margin:.6em 1.5em 0em 1.5em;
    padding-left:0em;
    list-style-type:disc}
ul ul
    {margin:.6em 1.5em 0em 1.5em;
    padding-left:0em;
    list-style-type:disc}
ol ul
    {margin:.6em 1.5em 0em 1.5em;
    padding-left:0em;
    list-style-type:disc}
ol
    {margin:.5em 2.1em 0em auto;
    padding-left:0;
    list-style-type:decimal}
ol ol
    {margin:.5em 2.1em 0em auto;
    padding-left:0;
    list-style-type:lower-alpha}
ul ol
    {margin:.5em 2.1em 0em auto;
    padding-left:0;
    list-style-type:decimal}
li
    {clear:both;
    margin-bottom:3}
p
    {margin:3px 0px 9px 0px}
img.embedded
    {padding:0;
    margin:0}
img.selfstanding
    {margin-top:3;
    margin-bottom:9}
img.toggle
    {border:0;
    margin-right:5}
img#toggleAllImage
    {margin-left:4;
    vertical-align:middle}
.tip
    {font-style:italic}
.math
    {font-family:Times New Roman;
    font-size:125%}
.sourceCodeList
    {font-family:Verdana;
    font-size:90%}
pre.viewCode
    {width:100%;
    overflow:auto}
</style>
</head>
<body>
<a name="pagetop"></a>
<div id="header">
<h1>Remote Differential Compression Code Sample ReadMe</h1>
</div>
<div id="mainSection">
<div id="mainBody">
<p class="runningHeader"></p>
<table cellspacing="0" id="columnTable">
<tbody>
<tr>
<td id="EdgeBorderColumn" valign="top"></td>
<td id="ToCColumn" valign="top">
<h4 class="subHeading">Contents</h4>
<p class="ToCLevel1"><a href="#EFJBHA">Disclaimer</a> </p>
<p class="ToCLevel1"><a href="#EFJBHB">Projects</a> </p>
<p class="ToCLevel1"><a href="#EFJBHC">Dependencies</a></p>
<p class="ToCLevel1"><a href="#EFJBHD">More Information and Errata</a></p>
</td>
<td id="contentColumn" valign="top">
<h1 class="heading"><a name="EFJBHA"></a>Disclaimer</h1>
<div id="sectionSection3" class="section">
<p><pre>THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF 
MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.

Copyright (c) 2007 Microsoft Corporation. All rights reserved.</pre></p>
</div>
<p class="TopOfPage"><a href="#pagetop" class="TopOfPageLink">Top of page</a></p>
<h1 class="heading"><a name="EFJBHB"></a>Projects</h1>
<div id="sectionSection0" class="section">
<div class="subSection">
<p>
	This code sample demonstrates the use of the Microsoft Remote Differential Compression COM interfaces
    in a .NET environment using C#. This sample code requires the .NET Framework 4.0 and Microsoft Vista 
	or Windows 2003 R2 at run time.</p> 

<p>The following Visual Studio 2010 projects are included:</p>

<h5 class="subHeading">Microsoft.RDC</h5>
<p>
    This project is the managed core API and wrapper around the native RDC API. This is the main project 
	that provides the RDC features. This project can be consumed via other managed applications to make 
	use of RDC. This project also contains all of the marshaling logic between the managed and COM interfaces.</p>

<p>To use this API in your projects, add the compiled assembly as a reference.</p>
</div>
<div class="subSection">
<h5 class="subHeading">RdcWebService</h5>
<p>
	This project is a web service that provides the following functionality:  server-side signature generation, 
	and transfer of RDC signatures and file block fragments.</p>
</div>
<div class="subSection">
<h5 class="subHeading">Client</h5>
<p>
    This project interfaces with the RdcWebService and demonstrates how to consume an RDC service over HTTP 
	using .NET. The client is a basic console application that takes the following arguments.</p>

	<pre>
USAGE: client.exe [-r x] remoteUrl remoteFile(source) localFile(seed) targetFile(output)

Arguments:
-r x        [optional] RDC signature recursion depth.
url         Absolute URL to the remote RDC Web Service.
remoteFile  Absolute path to the remote file.
localFile   Absolute path to the local seed file.
targetFile  Absolute path to the local target file.  This is the output.
</pre>
</div>
<p class="TopOfPage"><a href="#pagetop" class="TopOfPageLink">Top of page</a></p>
<h1 class="heading"><a name="EFJBHC"></a>Dependencies</h1>
<div id="sectionSection0" class="section">

<p>You must have the Windows SDK for Windows Vista or later. If you do not install the SDK to the default location, which is listed below,
you must update the Visual Studio Include and Library paths in the sample code accordingly. <a href="http://www.microsoft.com/downloads/details.aspx?familyid=c2b1e300-f358-4523-b479-f53d234cdccf&displaylang=en">
Download the Windows SDK for Windows Vista</a>. The Windows Vista SDK installs to 
%ProgramFiles%\Microsoft SDKs\Windows\vX.0.</p>
</div>
<p class="TopOfPage"><a href="#pagetop" class="TopOfPageLink">Top of page</a></p>
<h1 class="heading"><a name="EFJBHD"></a>More Information and Errata</h1>
<div id="sectionSection0" class="section">
<p>
	For more information, please see the latest Windows SDK documentation.  A separate, purely native-code based 
	RDC sample is described in the SDK in Samples\WinBase\RDC\Readme.txt.</p>
	
<p>
	We will publish bugs and errata 
at <a href="http://www.jwsecure.com/dan/index.html">http://www.jwsecure.com/dan/index.html</a>. 
Please report new bugs by contacting JW Secure at
<a href="http://www.jwsecure.com/contact.html">http://www.jwsecure.com/contact.html</a>.</p>

<p>
    This sample has been fixed and improved by David Jade. 
	See <a href="http://blog.mutable.net">http://blog.mutable.net</a> for details</p>
</div>
<p class="TopOfPage"><a href="#pagetop" class="TopOfPageLink">Top of page</a></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p></p>
</body>
</html>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published