Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / OSEnvironmentHelper.cs / 1 / OSEnvironmentHelper.cs
//----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------------------
namespace System.ServiceModel
{
static class OSEnvironmentHelper
{
const int VistaMajorVersion = 6;
internal static bool IsVistaOrGreater
{
get
{
return Environment.OSVersion.Version.Major >= VistaMajorVersion;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataComponentGenerator.cs
- ImageListUtils.cs
- ReaderContextStackData.cs
- ProxySimple.cs
- RegexStringValidatorAttribute.cs
- StackOverflowException.cs
- IntSecurity.cs
- FormCollection.cs
- CellLabel.cs
- DateTimeOffset.cs
- SamlAdvice.cs
- UserControl.cs
- CompilationUnit.cs
- ToolStripLocationCancelEventArgs.cs
- X509Certificate.cs
- DocumentSchemaValidator.cs
- AssemblyName.cs
- PointConverter.cs
- FlowDocumentScrollViewer.cs
- LoginCancelEventArgs.cs
- StylusShape.cs
- DataList.cs
- UshortList2.cs
- ContactManager.cs
- AnonymousIdentificationSection.cs
- ObsoleteAttribute.cs
- OpCellTreeNode.cs
- FormsAuthenticationUser.cs
- AsmxEndpointPickerExtension.cs
- WeakReferenceList.cs
- storepermission.cs
- BinaryObjectWriter.cs
- Base64Decoder.cs
- SchemaMapping.cs
- ToolBar.cs
- HttpStreamXmlDictionaryReader.cs
- AutomationPropertyInfo.cs
- PrimaryKeyTypeConverter.cs
- ParserOptions.cs
- DecimalAnimationBase.cs
- SocketManager.cs
- TdsParserSessionPool.cs
- PropertyInformation.cs
- TypeUtil.cs
- SiteMapNodeItem.cs
- SplitterPanelDesigner.cs
- GenericUI.cs
- ServiceInfo.cs
- Calendar.cs
- DateBoldEvent.cs
- ParserContext.cs
- IfAction.cs
- CodeTypeReferenceExpression.cs
- xmlformatgeneratorstatics.cs
- ReachPrintTicketSerializer.cs
- GlyphCollection.cs
- Executor.cs
- NavigationWindow.cs
- PrintController.cs
- lengthconverter.cs
- PagesSection.cs
- DBCSCodePageEncoding.cs
- QilTypeChecker.cs
- WeakReferenceKey.cs
- SqlRecordBuffer.cs
- XmlEventCache.cs
- ImageAttributes.cs
- UpdateDelegates.Generated.cs
- HttpStreamMessage.cs
- Inline.cs
- EntitySet.cs
- COM2Properties.cs
- XhtmlBasicValidatorAdapter.cs
- WindowsSolidBrush.cs
- Identifier.cs
- SecurityManager.cs
- NamespaceDecl.cs
- ResourceReader.cs
- InstanceDescriptor.cs
- ArrayWithOffset.cs
- TextDecoration.cs
- login.cs
- Simplifier.cs
- OdbcInfoMessageEvent.cs
- SamlAudienceRestrictionCondition.cs
- DefaultBinder.cs
- ResXDataNode.cs
- LayoutExceptionEventArgs.cs
- AlternateViewCollection.cs
- PersistStreamTypeWrapper.cs
- KeyEvent.cs
- TextTreeRootNode.cs
- IdentityReference.cs
- Polygon.cs
- SerializationTrace.cs
- WebHttpSecurity.cs
- TextCompositionEventArgs.cs
- DocumentApplicationJournalEntry.cs
- AssemblyResourceLoader.cs
- OpenFileDialog.cs