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
- MediaContextNotificationWindow.cs
- EncryptedKey.cs
- datacache.cs
- ScrollProviderWrapper.cs
- RequestUriProcessor.cs
- HandlerMappingMemo.cs
- XmlTextAttribute.cs
- DesignSurface.cs
- DefaultConfirmation.cs
- DesignTimeTemplateParser.cs
- HwndPanningFeedback.cs
- HtmlInputCheckBox.cs
- CaretElement.cs
- SmiTypedGetterSetter.cs
- PerformanceCounterNameAttribute.cs
- BamlResourceDeserializer.cs
- StringTraceRecord.cs
- TypedReference.cs
- BufferedReceiveElement.cs
- ClientScriptManager.cs
- FormViewRow.cs
- SHA1CryptoServiceProvider.cs
- ContentElement.cs
- WarningException.cs
- diagnosticsswitches.cs
- DelegatedStream.cs
- FtpWebResponse.cs
- FrameworkElement.cs
- SamlAdvice.cs
- ClassGenerator.cs
- FilterQuery.cs
- ExpressionNormalizer.cs
- ExpressionPrefixAttribute.cs
- TextRangeBase.cs
- ChoiceConverter.cs
- QueryPageSettingsEventArgs.cs
- CompoundFileStreamReference.cs
- ListControlConvertEventArgs.cs
- ErrorTableItemStyle.cs
- PostBackTrigger.cs
- CodeGenerator.cs
- PlainXmlSerializer.cs
- ConstructorNeedsTagAttribute.cs
- XamlReaderHelper.cs
- x509store.cs
- PlatformCulture.cs
- UpdateEventArgs.cs
- ToolStripItemTextRenderEventArgs.cs
- InstanceHandleReference.cs
- BookmarkEventArgs.cs
- SpellerStatusTable.cs
- CompositeFontInfo.cs
- future.cs
- CommandField.cs
- WSHttpBindingElement.cs
- ArraySortHelper.cs
- ColumnWidthChangingEvent.cs
- ProjectedSlot.cs
- DataGridHelper.cs
- ExtendedPropertyCollection.cs
- Duration.cs
- CodeTypeParameter.cs
- TabItem.cs
- AnimationStorage.cs
- ComPlusDiagnosticTraceSchemas.cs
- DynamicValidatorEventArgs.cs
- PolicyFactory.cs
- LowerCaseStringConverter.cs
- FileDialog.cs
- Route.cs
- AuthorizationBehavior.cs
- AxWrapperGen.cs
- SchemaMapping.cs
- IconConverter.cs
- QilReplaceVisitor.cs
- GPPOINT.cs
- InstanceCreationEditor.cs
- WorkflowNamespace.cs
- SqlUdtInfo.cs
- PropertyInfoSet.cs
- Geometry3D.cs
- RectangleGeometry.cs
- TextBox.cs
- SqlBooleanMismatchVisitor.cs
- AVElementHelper.cs
- LineVisual.cs
- OrderToken.cs
- CompilerGeneratedAttribute.cs
- Int64AnimationBase.cs
- DBDataPermissionAttribute.cs
- KeyToListMap.cs
- OleDbConnectionFactory.cs
- ProfilePropertySettingsCollection.cs
- ChangeNode.cs
- RichTextBox.cs
- ValueTypeFixupInfo.cs
- xsdvalidator.cs
- Column.cs
- StreamGeometry.cs
- SQLStringStorage.cs