Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / Internal / FileVersion.cs / 1305376 / FileVersion.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration.Internal { using System.Configuration; using System.IO; using System.Security.Permissions; using System.Reflection; using System.Threading; using System.Security; using System.CodeDom.Compiler; using Microsoft.Win32; #if !FEATURE_PAL using System.Security.AccessControl; #endif internal class FileVersion { bool _exists; long _fileSize; DateTime _utcCreationTime; DateTime _utcLastWriteTime; internal FileVersion(bool exists, long fileSize, DateTime utcCreationTime, DateTime utcLastWriteTime) { _exists = exists; _fileSize = fileSize; _utcCreationTime = utcCreationTime; _utcLastWriteTime = utcLastWriteTime; } public override bool Equals(Object obj) { FileVersion other = obj as FileVersion; return other != null && _exists == other._exists && _fileSize == other._fileSize && _utcCreationTime == other._utcCreationTime && _utcLastWriteTime == other._utcLastWriteTime; } public override int GetHashCode() { return base.GetHashCode(); } } } // 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
- ComponentEditorPage.cs
- CodeCommentStatementCollection.cs
- _ConnectionGroup.cs
- ObjectContext.cs
- XmlSchemaExternal.cs
- Socket.cs
- BamlTreeNode.cs
- CustomErrorsSectionWrapper.cs
- SmtpNegotiateAuthenticationModule.cs
- WebPartVerbCollection.cs
- WindowsListBox.cs
- EditorZoneBase.cs
- ReferenceTypeElement.cs
- DeclarativeCatalogPart.cs
- ViewLoader.cs
- Msec.cs
- SingleTagSectionHandler.cs
- TemplateDefinition.cs
- GrammarBuilderPhrase.cs
- HttpProfileBase.cs
- TranslateTransform3D.cs
- GridViewRowEventArgs.cs
- BinaryFormatter.cs
- MasterPageParser.cs
- SelectionItemProviderWrapper.cs
- CultureInfo.cs
- SoapEnumAttribute.cs
- DesignerCategoryAttribute.cs
- CultureMapper.cs
- ConstructorNeedsTagAttribute.cs
- FrameworkElementFactoryMarkupObject.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ServiceNameCollection.cs
- ForeignKeyConstraint.cs
- BindStream.cs
- BoundColumn.cs
- AnnotationAuthorChangedEventArgs.cs
- MemoryFailPoint.cs
- TransactedReceiveScope.cs
- AddInController.cs
- HTMLTextWriter.cs
- PartManifestEntry.cs
- CollectionBase.cs
- Scene3D.cs
- NativeMethods.cs
- UrlAuthorizationModule.cs
- PropertyGeneratedEventArgs.cs
- FocusManager.cs
- MergablePropertyAttribute.cs
- PointF.cs
- SQLInt32.cs
- CellLabel.cs
- ManagementObject.cs
- XmlQueryOutput.cs
- UnsupportedPolicyOptionsException.cs
- WinFormsUtils.cs
- SaveCardRequest.cs
- ResourceReferenceExpressionConverter.cs
- HostedHttpRequestAsyncResult.cs
- GridItemPattern.cs
- PermissionAttributes.cs
- ParallelEnumerableWrapper.cs
- FrameworkContentElementAutomationPeer.cs
- ShapingWorkspace.cs
- MethodImplAttribute.cs
- OdbcDataReader.cs
- DefaultValueTypeConverter.cs
- EventEntry.cs
- BitmapEffectDrawing.cs
- DataServiceQueryException.cs
- SkipQueryOptionExpression.cs
- ModelService.cs
- WebHttpEndpoint.cs
- TriState.cs
- DesignTimeDataBinding.cs
- XmlSortKeyAccumulator.cs
- StatusBar.cs
- XmlCharCheckingWriter.cs
- ButtonBase.cs
- StorageMappingFragment.cs
- IgnoreSectionHandler.cs
- ConstraintEnumerator.cs
- FormViewPagerRow.cs
- KeyInterop.cs
- UInt32Storage.cs
- ProfilePropertySettingsCollection.cs
- ParagraphVisual.cs
- RenderingBiasValidation.cs
- SolidBrush.cs
- ApplicationDirectoryMembershipCondition.cs
- CustomErrorCollection.cs
- HtmlInputFile.cs
- SystemIcmpV4Statistics.cs
- KeyboardEventArgs.cs
- SystemFonts.cs
- DataGridColumnReorderingEventArgs.cs
- SymmetricAlgorithm.cs
- FormatConvertedBitmap.cs
- ResourceAttributes.cs
- GridSplitterAutomationPeer.cs