Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / DATA_BLOB.cs / 1 / DATA_BLOB.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Configuration
{
using System.Collections.Specialized;
using System.Runtime.Serialization;
using System.Configuration.Provider;
using System.Xml;
using System.Text;
using System.Runtime.InteropServices;
using Microsoft.Win32;
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
[StructLayout(LayoutKind.Sequential)]
internal struct DATA_BLOB : IDisposable
{
public int cbData;
public IntPtr pbData;
void IDisposable.Dispose()
{
if (pbData != IntPtr.Zero)
{
Marshal.FreeHGlobal(pbData);
pbData = IntPtr.Zero;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Configuration
{
using System.Collections.Specialized;
using System.Runtime.Serialization;
using System.Configuration.Provider;
using System.Xml;
using System.Text;
using System.Runtime.InteropServices;
using Microsoft.Win32;
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
[StructLayout(LayoutKind.Sequential)]
internal struct DATA_BLOB : IDisposable
{
public int cbData;
public IntPtr pbData;
void IDisposable.Dispose()
{
if (pbData != IntPtr.Zero)
{
Marshal.FreeHGlobal(pbData);
pbData = IntPtr.Zero;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegistrySecurity.cs
- ProxyHelper.cs
- MachineKeyConverter.cs
- OptimisticConcurrencyException.cs
- ColorAnimationBase.cs
- TreeViewImageKeyConverter.cs
- lengthconverter.cs
- OleDbParameterCollection.cs
- BaseTransportHeaders.cs
- ActivityDesigner.cs
- sitestring.cs
- SmiEventStream.cs
- SudsWriter.cs
- RawMouseInputReport.cs
- NameGenerator.cs
- TdsParserSessionPool.cs
- PropertyPathWorker.cs
- TextServicesDisplayAttributePropertyRanges.cs
- LabelEditEvent.cs
- XmlUtilWriter.cs
- ValueCollectionParameterReader.cs
- Msec.cs
- NetPeerTcpBindingElement.cs
- HwndAppCommandInputProvider.cs
- CannotUnloadAppDomainException.cs
- ExitEventArgs.cs
- CatalogPartChrome.cs
- PropertyGridEditorPart.cs
- ZipIOCentralDirectoryFileHeader.cs
- Light.cs
- VisualBasicReference.cs
- NetworkInformationPermission.cs
- CreateUserWizardStep.cs
- FontStretchConverter.cs
- Vector3D.cs
- GridEntry.cs
- ComboBoxAutomationPeer.cs
- DynamicILGenerator.cs
- EventToken.cs
- XmlElementList.cs
- PeerService.cs
- TextEncodedRawTextWriter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- IntegerValidatorAttribute.cs
- FormsAuthenticationCredentials.cs
- PrintControllerWithStatusDialog.cs
- SSmlParser.cs
- SamlAction.cs
- DiscreteKeyFrames.cs
- ScriptIgnoreAttribute.cs
- TypeTypeConverter.cs
- TemplateBuilder.cs
- SingleStorage.cs
- DesignerAdapterUtil.cs
- DrawingCollection.cs
- TemplateControl.cs
- PolygonHotSpot.cs
- DBAsyncResult.cs
- SplashScreenNativeMethods.cs
- KeyPressEvent.cs
- XmlSchemaCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- DataBindingHandlerAttribute.cs
- SQLInt32.cs
- HijriCalendar.cs
- HWStack.cs
- BevelBitmapEffect.cs
- GeometryModel3D.cs
- XmlSchemaSubstitutionGroup.cs
- Type.cs
- XmlParserContext.cs
- FixedSOMPageElement.cs
- PageAdapter.cs
- SelectorAutomationPeer.cs
- Evidence.cs
- SoapCommonClasses.cs
- MarkedHighlightComponent.cs
- TrackingServices.cs
- SerializationTrace.cs
- LinkLabel.cs
- DataGridCaption.cs
- OdbcConnectionFactory.cs
- StatusBarAutomationPeer.cs
- WindowsScrollBarBits.cs
- TransactionFlowBindingElementImporter.cs
- SqlTrackingQuery.cs
- NumericPagerField.cs
- BatchServiceHost.cs
- DataControlButton.cs
- SafeEventLogWriteHandle.cs
- PlainXmlDeserializer.cs
- Container.cs
- _DomainName.cs
- Configuration.cs
- ConfigurationSchemaErrors.cs
- Geometry.cs
- WsdlBuildProvider.cs
- ObjectDisposedException.cs
- VSDExceptions.cs
- XmlWriterSettings.cs