Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Configuration / COAUTHIDENTITY.cs / 1 / COAUTHIDENTITY.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Web; using System.Web.Util; using System.Security; using System.IO; using System.Web.Hosting; using System.Runtime.InteropServices; using System.Reflection; using System.Collections.Specialized; using System.Xml; using System.Security.Principal; using System.Threading; using System.Globalization; [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHIDENTITY { internal COAUTHIDENTITY(string usr, string dom, string pwd) { user = usr; userlen = (user==null) ? 0 : user.Length; domain = dom; domainlen = (domain==null) ? 0 : domain.Length; password = pwd; passwordlen = (password==null) ? 0 : password.Length; } [MarshalAs(UnmanagedType.LPWStr)] internal string user = null; internal int userlen = 0; [MarshalAs(UnmanagedType.LPWStr)] internal string domain = null; internal int domainlen = 0; [MarshalAs(UnmanagedType.LPWStr)] internal string password = null; internal int passwordlen = 0; internal int flags = 2; // SEC_WINNT_AUTH_IDENTITY_UNICODE } [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHIDENTITY_X64 { internal COAUTHIDENTITY_X64(string usr, string dom, string pwd) { user = usr; userlen = (user == null) ? 0 : user.Length; domain = dom; domainlen = (domain == null) ? 0 : domain.Length; password = pwd; passwordlen = (password == null) ? 0 : password.Length; } [MarshalAs(UnmanagedType.LPWStr)] internal string user = null; internal int userlen = 0; #pragma warning disable 0649 internal int padding1; #pragma warning restore 0649 [MarshalAs(UnmanagedType.LPWStr)] internal string domain = null; internal int domainlen = 0; #pragma warning disable 0649 internal int padding2; #pragma warning restore 0649 [MarshalAs(UnmanagedType.LPWStr)] internal string password = null; internal int passwordlen = 0; internal int flags = 2; // SEC_WINNT_AUTH_IDENTITY_UNICODE } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Web; using System.Web.Util; using System.Security; using System.IO; using System.Web.Hosting; using System.Runtime.InteropServices; using System.Reflection; using System.Collections.Specialized; using System.Xml; using System.Security.Principal; using System.Threading; using System.Globalization; [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHIDENTITY { internal COAUTHIDENTITY(string usr, string dom, string pwd) { user = usr; userlen = (user==null) ? 0 : user.Length; domain = dom; domainlen = (domain==null) ? 0 : domain.Length; password = pwd; passwordlen = (password==null) ? 0 : password.Length; } [MarshalAs(UnmanagedType.LPWStr)] internal string user = null; internal int userlen = 0; [MarshalAs(UnmanagedType.LPWStr)] internal string domain = null; internal int domainlen = 0; [MarshalAs(UnmanagedType.LPWStr)] internal string password = null; internal int passwordlen = 0; internal int flags = 2; // SEC_WINNT_AUTH_IDENTITY_UNICODE } [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHIDENTITY_X64 { internal COAUTHIDENTITY_X64(string usr, string dom, string pwd) { user = usr; userlen = (user == null) ? 0 : user.Length; domain = dom; domainlen = (domain == null) ? 0 : domain.Length; password = pwd; passwordlen = (password == null) ? 0 : password.Length; } [MarshalAs(UnmanagedType.LPWStr)] internal string user = null; internal int userlen = 0; #pragma warning disable 0649 internal int padding1; #pragma warning restore 0649 [MarshalAs(UnmanagedType.LPWStr)] internal string domain = null; internal int domainlen = 0; #pragma warning disable 0649 internal int padding2; #pragma warning restore 0649 [MarshalAs(UnmanagedType.LPWStr)] internal string password = null; internal int passwordlen = 0; internal int flags = 2; // SEC_WINNT_AUTH_IDENTITY_UNICODE } } // 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
- PenContexts.cs
- PrintPreviewDialog.cs
- XmlNamedNodeMap.cs
- DefaultValueTypeConverter.cs
- StreamUpdate.cs
- HtmlSelect.cs
- DocumentSignatureManager.cs
- BitmapData.cs
- MethodBuilder.cs
- DesignTimeVisibleAttribute.cs
- ListViewInsertionMark.cs
- TrustManager.cs
- CommandEventArgs.cs
- InkCanvasSelectionAdorner.cs
- WebPartManagerInternals.cs
- AnonymousIdentificationSection.cs
- HtmlTernaryTree.cs
- CreateWorkflowOwnerCommand.cs
- Win32.cs
- RC2CryptoServiceProvider.cs
- CompModSwitches.cs
- PostBackOptions.cs
- LocatorPartList.cs
- DecimalConstantAttribute.cs
- DataServiceQueryProvider.cs
- CounterCreationData.cs
- DiffuseMaterial.cs
- AccessedThroughPropertyAttribute.cs
- ToolStripItemTextRenderEventArgs.cs
- DataProtection.cs
- arabicshape.cs
- MsmqIntegrationMessagePool.cs
- StrokeNodeData.cs
- ThreadInterruptedException.cs
- CodeTryCatchFinallyStatement.cs
- XmlElementCollection.cs
- SqlNodeTypeOperators.cs
- QueueProcessor.cs
- OleDbParameterCollection.cs
- CompilationUtil.cs
- ServiceReference.cs
- ItemsControl.cs
- StylusCollection.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- XPathException.cs
- CompositeDataBoundControl.cs
- Module.cs
- DefaultValueAttribute.cs
- URL.cs
- SByteConverter.cs
- GlyphInfoList.cs
- CallbackBehaviorAttribute.cs
- Error.cs
- BinaryParser.cs
- ReverseInheritProperty.cs
- FlowDocumentPage.cs
- ActivityValidationServices.cs
- ToolbarAUtomationPeer.cs
- MdiWindowListItemConverter.cs
- SqlMetaData.cs
- HandlerMappingMemo.cs
- ConfigUtil.cs
- CurrentChangingEventArgs.cs
- Point3D.cs
- EntityParameterCollection.cs
- XmlUtil.cs
- BooleanFunctions.cs
- OdbcHandle.cs
- DetailsViewActionList.cs
- SafeMILHandleMemoryPressure.cs
- storepermissionattribute.cs
- ParameterDataSourceExpression.cs
- IChannel.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- DocumentPageView.cs
- PropertySegmentSerializationProvider.cs
- UriScheme.cs
- DocumentPageHost.cs
- ContentPlaceHolder.cs
- ImageAnimator.cs
- DirectionalLight.cs
- WorkflowTransactionOptions.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MessageFilterTable.cs
- ServiceParser.cs
- EntityDesignerDataSourceView.cs
- SafeReadContext.cs
- TextTreePropertyUndoUnit.cs
- QueryParameter.cs
- Int32RectConverter.cs
- Converter.cs
- ComponentEditorForm.cs
- HtmlTitle.cs
- XPathScanner.cs
- ExitEventArgs.cs
- SqlVersion.cs
- OleAutBinder.cs
- EmptyEnumerable.cs
- XpsFontSerializationService.cs
- HttpSessionStateWrapper.cs