<html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Db4oIsolatedStorageFile</title> <link rel="stylesheet" type="text/css" href="../../../style.css"> </head> <body> <div class="CommonContent"> <div class="CommonContentArea"> <h1>Db4oIsolatedStorageFile</h1><script> //We attach this function to a browser object as a variable so that if multiple of these blocks are //present on the same page, then they will simply over-write eachother with the same function instead //of generating a naming collision. window.WikiCodeFormattingCopyToClipboard = function copyToClipboard(sID){ var sContent = document.getElementById(sID).innerText; if( window.clipboardData && clipboardData.setData ) { clipboardData.setData("Text", sContent); } else { alert("You must enable javascript access to your clipboard for this feature to work. Please referr to your browser documentation or Google search for instructions."); } } </script><p><font color="#990000">This topic applies to .NET version only</font> </p> <span name="cs_wiki_filter" csw_filters="cs"> <div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">Db4oIsolatedStorageFile.cs</span></div><div class="fscCode"><pre ID="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65"><div><!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><span style="color: #008080;">01</span><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Open_Text').style.display='inline';"/><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_0_67_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;"> Copyright (C) 2004 - 2007 db4objects Inc. </span><span style="color: #008000; text-decoration: underline;">http://www.db4o.com</span><span style="color: #008000;"> </span><span style="color: #008000;">*/</span></span><span style="color: #000000;"> </span><span style="color: #008080;">02</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> System; </span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> System.IO; </span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> System.IO.IsolatedStorage; </span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> Db4objects.Db4o; </span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> Db4objects.Db4o.Ext; </span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/> </span><span style="color: #008080;">08</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">namespace</span><span style="color: #000000;"> Db4objects.Db4odoc.IsolatedStorage </span><span style="color: #008080;">09</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Open_Text').style.display='inline';"/></span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_228_2357_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">10</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> Db4oIsolatedStorageFile </span><span style="color: #008080;">12</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_276_2355_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">private</span><span style="color: #000000;"> IsolatedStorageFileStream _stream; </span><span style="color: #008080;">14</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">15</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> [System.Runtime.InteropServices.DllImport(</span><span style="color: #800000;">"</span><span style="color: #800000;">kernel32.dll</span><span style="color: #800000;">"</span><span style="color: #000000;">, SetLastError </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">true</span><span style="color: #000000;">)] </span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">static</span><span style="color: #000000;"> </span><span style="color: #0000FF;">extern</span><span style="color: #000000;"> </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> FlushFileBuffers(IntPtr fileHandle); </span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">18</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> Db4oIsolatedStorageFile(String file, String fileMode) </span><span style="color: #008080;">19</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_559_1004_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">try</span><span style="color: #000000;"> </span><span style="color: #008080;">21</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_589_868_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">22</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> IsolatedStorageFile isf </span><span style="color: #000000;">=</span><span style="color: #000000;"> IsolatedStorageFile.GetUserStoreForAssembly(); </span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> IsolatedStorageFileStream(file, FileMode.OpenOrCreate, </span><span style="color: #008080;">24</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> fileMode.Equals(</span><span style="color: #800000;">"</span><span style="color: #800000;">rw</span><span style="color: #800000;">"</span><span style="color: #000000;">) </span><span style="color: #000000;">?</span><span style="color: #000000;"> FileAccess.ReadWrite : FileAccess.Read, isf); </span><span style="color: #008080;">25</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">26</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">catch</span><span style="color: #000000;"> (IOException x) </span><span style="color: #008080;">27</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_915_994_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">28</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">throw</span><span style="color: #000000;"> </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> DatabaseFileLockedException(file, x); </span><span style="color: #008080;">29</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">30</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">31</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Db4oIsolatedStorageFile</span><span style="color: #008000;"> </span><span style="color: #008080;">32</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">33</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> FileStream Stream </span><span style="color: #008080;">34</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1086_1133_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">35</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">get</span><span style="color: #000000;"> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1104_1123_Open_Text"><span style="color: #000000;">{ </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> _stream; }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">36</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">37</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Stream</span><span style="color: #008000;"> </span><span style="color: #008080;">38</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">39</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Close() </span><span style="color: #008080;">40</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1193_1233_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">41</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Close(); </span><span style="color: #008080;">42</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">43</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Close</span><span style="color: #008000;"> </span><span style="color: #008080;">44</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">45</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">long</span><span style="color: #000000;"> Length() </span><span style="color: #008080;">46</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1293_1339_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">47</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> _stream.Length; </span><span style="color: #008080;">48</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">49</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Length</span><span style="color: #008000;"> </span><span style="color: #008080;">50</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">51</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> Read(</span><span style="color: #0000FF;">byte</span><span style="color: #000000;">[] bytes, </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> offset, </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> length) </span><span style="color: #008080;">52</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1433_1500_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">53</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> _stream.Read(bytes, offset, length); </span><span style="color: #008080;">54</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">55</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Read</span><span style="color: #008000;"> </span><span style="color: #008080;">56</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">57</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Read(</span><span style="color: #0000FF;">byte</span><span style="color: #000000;">[] bytes) </span><span style="color: #008080;">58</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1569_1630_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">59</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Read(bytes, </span><span style="color: #800080;">0</span><span style="color: #000000;">, bytes.Length); </span><span style="color: #008080;">60</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">61</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Read</span><span style="color: #008000;"> </span><span style="color: #008080;">62</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">63</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Seek(</span><span style="color: #0000FF;">long</span><span style="color: #000000;"> pos) </span><span style="color: #008080;">64</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1695_1755_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">65</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Seek(pos, SeekOrigin.Begin); </span><span style="color: #008080;">66</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">67</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Seek</span><span style="color: #008000;"> </span><span style="color: #008080;">68</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">69</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Sync() </span><span style="color: #008080;">70</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_1812_1929_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">71</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Flush(); </span><span style="color: #008080;">72</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">73</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> FlushFileBuffers(_stream.SafeFileHandle.DangerousGetHandle()); </span><span style="color: #008080;">74</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">75</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">76</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Sync</span><span style="color: #008000;"> </span><span style="color: #008080;">77</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">78</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> Db4oIsolatedStorageFile GetFD() </span><span style="color: #008080;">79</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2006_2042_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">80</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> </span><span style="color: #0000FF;">this</span><span style="color: #000000;">; </span><span style="color: #008080;">81</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">82</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end GetFD</span><span style="color: #008000;"> </span><span style="color: #008080;">83</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">84</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Write(</span><span style="color: #0000FF;">byte</span><span style="color: #000000;">[] bytes) </span><span style="color: #008080;">85</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2113_2172_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">86</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">this</span><span style="color: #000000;">.Write(bytes, </span><span style="color: #800080;">0</span><span style="color: #000000;">, bytes.Length); </span><span style="color: #008080;">87</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">88</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Write</span><span style="color: #008000;"> </span><span style="color: #008080;">89</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">90</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Write(</span><span style="color: #0000FF;">byte</span><span style="color: #000000;">[] bytes, </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> offset, </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> length) </span><span style="color: #008080;">91</span><span style="color: #000000;"><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Open_Text').style.display='inline';"/> </span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="..IsolatedStorageCS.ZipsDb4oIsolatedStorageFile.Cs_Db4oIsolatedStorageFile.Cs_130_65_2267_2328_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">92</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Write(bytes, offset, length); </span><span style="color: #008080;">93</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">94</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">//</span><span style="color: #008000;"> end Write</span><span style="color: #008000;"> </span><span style="color: #008080;">95</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/></span><span style="color: #000000;"> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">96</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>}</span></span></div></pre></div></div> </span> <span name="cs_wiki_filter" csw_filters="vb"> <div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">Db4oIsolatedStorageFile.vb</span></div><div class="fscCode"><pre ID="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65"><div><!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><span style="color: #008080;">01</span><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/><span style="color: #008000;">'</span><span style="color: #008000;"> Copyright (C) 2004 - 2007 db4objects Inc. http://www.db4o.com </span><span style="color: #008000;"> </span><span style="color: #008080;">02</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> System </span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> System.IO </span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> System.IO.IsolatedStorage </span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> Db4objects.Db4o </span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> Db4objects.Db4o.Ext </span><span style="color: #008080;">08</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/> </span><span style="color: #008080;">09</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Open_Text').style.display='inline';"/></span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Namespace Db4objects</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_186_2505_Open_Text"><span style="color: #0000FF;">Namespace</span><span style="color: #000000;"> Db4objects.Db4odoc.IsolatedStorage </span><span style="color: #008080;">10</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">11</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Class Db4oIsolatedStorageFile</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_243_2491_Open_Text"><span style="color: #0000FF;">Class</span><span style="color: #000000;"> Db4oIsolatedStorageFile </span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _stream </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IsolatedStorageFileStream </span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">14</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #000000;"><</span><span style="color: #000000;">System.Runtime.InteropServices.DllImport(</span><span style="color: #800000;">"</span><span style="color: #800000;">kernel32.dll</span><span style="color: #800000;">"</span><span style="color: #000000;">, SetLastError:</span><span style="color: #000000;">=</span><span style="color: #0000FF;">True</span><span style="color: #000000;">)</span><span style="color: #000000;">></span><span style="color: #000000;"> _ </span><span style="color: #008080;">15</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Shared</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function FlushFileBuffers()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_439_524_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> FlushFileBuffers(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> fileHandle </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IntPtr) </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;"> </span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;"> </span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">18</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub New()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_541_992_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> file </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;">, </span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> fMode </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;">) </span><span style="color: #008080;">19</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Try</span><span style="color: #000000;"> </span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> isf </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IsolatedStorageFile </span><span style="color: #000000;">=</span><span style="color: #000000;"> IsolatedStorageFile.GetUserStoreForAssembly() </span><span style="color: #008080;">21</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;"> IsolatedStorageFileStream(file, FileMode.OpenOrCreate, </span><span style="color: #0000FF;">IIf</span><span style="color: #000000;">(fMode.Equals(</span><span style="color: #800000;">"</span><span style="color: #800000;">rw</span><span style="color: #800000;">"</span><span style="color: #000000;">), FileAccess.ReadWrite, FileAccess.Read), isf) </span><span style="color: #008080;">22</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Catch</span><span style="color: #000000;"> x </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IOException </span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Throw</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;"> DatabaseFileLockedException(file, x) </span><span style="color: #008080;">24</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Try</span><span style="color: #000000;"> </span><span style="color: #008080;">25</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">26</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Db4oIsolatedStorageFile</span><span style="color: #008000;"> </span><span style="color: #008080;">27</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">28</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">ReadOnly</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Stream()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1056_1175_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Stream() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> FileStream </span><span style="color: #008080;">29</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">30</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _stream </span><span style="color: #008080;">31</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;"> </span><span style="color: #008080;">32</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Property</span></span><span style="color: #000000;"> </span><span style="color: #008080;">33</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Stream</span><span style="color: #008000;"> </span><span style="color: #008080;">34</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">35</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Close()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1213_1268_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> Close() </span><span style="color: #008080;">36</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Close() </span><span style="color: #008080;">37</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">38</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Close</span><span style="color: #008000;"> </span><span style="color: #008080;">39</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">40</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function Length()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1305_1385_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> Length() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Long</span><span style="color: #000000;"> </span><span style="color: #008080;">41</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _stream.Length </span><span style="color: #008080;">42</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;"> </span><span style="color: #008080;">43</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Length</span><span style="color: #008000;"> </span><span style="color: #008080;">44</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">45</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function Read()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1423_1596_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> Read(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> bytes </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Byte</span><span style="color: #000000;">(), </span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> offset </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">, </span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> length </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">) </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;"> </span><span style="color: #008080;">46</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _stream.Read(bytes, offset, length) </span><span style="color: #008080;">47</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;"> </span><span style="color: #008080;">48</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Read</span><span style="color: #008000;"> </span><span style="color: #008080;">49</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">50</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Read()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1632_1728_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> Read(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> bytes </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Byte</span><span style="color: #000000;">()) </span><span style="color: #008080;">51</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Read(bytes, </span><span style="color: #800080;">0</span><span style="color: #000000;">, bytes.Length) </span><span style="color: #008080;">52</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">53</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Read</span><span style="color: #008000;"> </span><span style="color: #008080;">54</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">55</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Seek()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1764_1855_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Seek</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> pos </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Long</span><span style="color: #000000;">) </span><span style="color: #008080;">56</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Seek(pos, SeekOrigin.Begin) </span><span style="color: #008080;">57</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">58</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Seek</span><span style="color: #008000;"> </span><span style="color: #008080;">59</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">60</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Sync()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_1891_2021_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> Sync() </span><span style="color: #008080;">61</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Flush() </span><span style="color: #008080;">62</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">63</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> FlushFileBuffers(_stream.SafeFileHandle.DangerousGetHandle()) </span><span style="color: #008080;">64</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">65</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">66</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Sync</span><span style="color: #008000;"> </span><span style="color: #008080;">67</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">68</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function GetFD()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2057_2143_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> GetFD() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> Db4oIsolatedStorageFile </span><span style="color: #008080;">69</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Me</span><span style="color: #000000;"> </span><span style="color: #008080;">70</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;"> </span><span style="color: #008080;">71</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end GetFD</span><span style="color: #008000;"> </span><span style="color: #008080;">72</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">73</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Write()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2180_2273_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Write</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> bytes </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Byte</span><span style="color: #000000;">()) </span><span style="color: #008080;">74</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">Me</span><span style="color: #000000;">.Write(bytes, </span><span style="color: #800080;">0</span><span style="color: #000000;">, bytes.Length) </span><span style="color: #008080;">75</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">76</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Write</span><span style="color: #008000;"> </span><span style="color: #008080;">77</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #008080;">78</span><span style="color: #000000;"><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Open_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Open_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Closed_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Closed_Text').style.display='inline';"/><img id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Closed_Image" src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Closed_Text').style.display='none'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Open_Image').style.display='inline'; document.getElementById('..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Open_Text').style.display='inline';"/> </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Write()</span><span id="..IsolatedStorageVB.ZipsDb4oIsolatedStorageFile.Vb_Db4oIsolatedStorageFile.Vb_253_65_2310_2457_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Write</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> bytes </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Byte</span><span style="color: #000000;">(), </span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> offset </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">, </span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> length </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">) </span><span style="color: #008080;">79</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _stream.Write(bytes, offset, length) </span><span style="color: #008080;">80</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;"> </span><span style="color: #008080;">81</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008000;">'</span><span style="color: #008000;"> end Write</span><span style="color: #008000;"> </span><span style="color: #008080;">82</span><span style="color: #008000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/></span><span style="color: #000000;"> </span><span style="color: #0000FF;">End Class</span></span><span style="color: #000000;"> </span><span style="color: #008080;">83</span><span style="color: #000000;"><img src="../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/></span><span style="color: #0000FF;">End Namespace</span></span></div></pre></div></div> </span> <p>The full example code can be downloaded by clicking on the top right button of the code block.</p></div> </div> <div id="footer"> This revision (3) was last Modified 2007-08-19T13:28:08 by Tetyana. </div> </body> </html>