Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.NET] System.Management Version 2.0.0.0 without Import Make App [SRC]
#1
This is actually simple and essey to make a system management system

Code:
Imports system.Net

Optional
Code:
Imports System.Asif

in class bar put
Code:
<Assembly: AssemblyVersion("2.0.0.0")>
<Assembly: AssemblyTitle("System.Management.dll")>
<Assembly: CLSCompliant(True)>
<Assembly: ComVisible(False)>
<Assembly: AssemblyDescription("System.Management.dll")>
<Assembly: NeutralResourcesLanguage("en-US")>
<Assembly: AssemblyDefaultAlias("System.Management.dll")>
<Assembly: CompilationRelaxations(8)>
<Assembly: SatelliteContractVersion("2.0.0.0")>
<Assembly: AssemblyCompany("Microsoft Corporation")>
<Assembly: AssemblyKeyFile("f:\dd\Tools\devdiv\FinalPublicKey.snk")>
<Assembly: AssemblyDelaySign(True)>
<Assembly: Debuggable(DebuggingModes.IgnoreSymbolStoreSequencePoints)>
<Assembly: RuntimeCompatibility(WrapNonExceptionThrows:=True)>
<Assembly: AssemblyInformationalVersion("2.0.50727.4927")>
<Assembly: AssemblyFileVersion("2.0.50727.4927")>
<Assembly: AssemblyCopyright(ChrW(169) & " Microsoft Corporation.  All rights reserved.")>
<Assembly: AssemblyProduct("Microsoft" & ChrW(174) & " .NET Framework")>
<Assembly: SecurityPermission(SecurityAction.RequestMinimum, UnmanagedCode:=True)>

Then in down side in the bottom bar
Code:
Namespace System.Management
    Friend Enum __MIDL___MIDL_itf_wmi_0000_0001

    Friend Enum __MIDL___MIDL_itf_wmi_0000_0002

    Friend Enum __MIDL___MIDL_itf_wmi_0000_0003

    Public Enum AuthenticationLevel

    Public Enum CimType

    Public Enum CodeLanguage

    <Flags> _
    Public Enum ComparisonSettings

    Public Class CompletedEventArgs
        Inherits ManagementEventArgs

    Public Delegate Sub CompletedEventHandler(ByVal sender As Object, ByVal e As CompletedEventArgs)

    Public Class ConnectionOptions
        Inherits ManagementOptions

    Public Class DeleteOptions
        Inherits ManagementOptions

    Public Class EnumerationOptions
        Inherits ManagementOptions

    Public Class EventArrivedEventArgs
        Inherits ManagementEventArgs

    Public Delegate Sub EventArrivedEventHandler(ByVal sender As Object, ByVal e As EventArrivedEventArgs)

    Public Class EventQuery
        Inherits ManagementQuery

    Public Class EventWatcherOptions
        Inherits ManagementOptions

    Friend Class IdentifierChangedEventArgs
        Inherits EventArgs

    Friend Delegate Sub IdentifierChangedEventHandler(ByVal sender As Object, ByVal e As IdentifierChangedEventArgs)

    <ComImport, InterfaceType(CShort(1)), TypeLibType(CShort(&H200)), Guid("027947E1-D731-11CE-A357-000000000001")> _
    Friend Interface IEnumWbemClassObject

    <ComImport, Guid("1CF2B120-547D-101B-8E65-08002B2BD119"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
    Friend Interface IErrorInfo

    Public Enum ImpersonationLevel

    Friend Class InternalObjectPutEventArgs
        Inherits EventArgs

    Friend Delegate Sub InternalObjectPutEventHandler(ByVal sender As Object, ByVal e As InternalObjectPutEventArgs)

    Public Class InvokeMethodOptions
        Inherits ManagementOptions

    <ComImport, InterfaceType(CShort(1)), Guid("1CFABA8C-1523-11D1-AD79-00C04FD8FDFF"), TypeLibType(CShort(&H200))> _
    Friend Interface IUnsecuredApartment

    <ComImport, Guid("44ACA675-E8FC-11D0-A07C-00C04FB68820"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemCallResult

    <ComImport, InterfaceType(CShort(1)), Guid("DC12A681-737F-11CF-884D-00AA004B2E24"), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemClassObject_DoNotMarshal

    <Serializable> _
    Friend NotInheritable Class IWbemClassObjectFreeThreaded
        Implements IDisposable, ISerializable

    <ComImport, Guid("44ACA674-E8FC-11D0-A07C-00C04FB68820"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemContext

    <ComImport, InterfaceType(CShort(1)), Guid("1005CBCF-E64F-4646-BCD3-3A089D8A84B4")> _
    Friend Interface IWbemDecoupledRegistrar

    <ComImport, Guid("E246107A-B06E-11D0-AD61-00C04FD8FDFF"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemEventConsumerProvider

    <ComImport, Guid("E245105B-B06E-11D0-AD61-00C04FD8FDFF"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemEventProvider

    <ComImport, Guid("580ACAF8-FA1C-11D0-AD72-00C04FD8FDFF"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemEventProviderQuerySink

    <ComImport, Guid("631F7D96-D993-11D2-B339-00105A1F4AAF"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemEventProviderSecurity

    <ComImport, Guid("3AE0080A-7E3A-4366-BF89-0FEEDC931659"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemEventSink

    <ComImport, TypeLibType(CShort(&H200)), Guid("DC12A687-737F-11CF-884D-00AA004B2E24"), InterfaceType(CShort(1))> _
    Friend Interface IWbemLocator

    <ComImport, Guid("49353C9A-516B-11D1-AEA6-00C04FB68820"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemObjectAccess

    <ComImport, InterfaceType(CShort(1)), TypeLibType(CShort(&H200)), Guid("7C857801-7381-11CF-884D-00AA004B2E24"), SuppressUnmanagedCodeSecurity> _
    Friend Interface IWbemObjectSink

    <ComImport, InterfaceType(CShort(1)), Guid("BFBF883A-CAD7-11D3-A11B-00105A1F515A"), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemObjectTextSrc

    <ComImport, Guid("3BC15AF2-736C-477E-9E51-238AF8667DCC"), InterfaceType(CShort(1))> _
    Friend Interface IWbemPath

    <ComImport, InterfaceType(CShort(1)), Guid("9AE62877-7544-4BB0-AA26-A13824659ED6")> _
    Friend Interface IWbemPathKeyList

    <ComImport, Guid("CE61E841-65BC-11D0-B6BD-00AA003240C7"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemPropertyProvider

    <ComImport, Guid("631F7D97-D993-11D2-B339-00105A1F4AAF"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemProviderIdentity

    <ComImport, Guid("1BE41572-91DD-11D1-AEB2-00C04FB68820"), InterfaceType(CShort(1))> _
    Friend Interface IWbemProviderInit

    <ComImport, Guid("1BE41571-91DD-11D1-AEB2-00C04FB68820"), InterfaceType(CShort(1))> _
    Friend Interface IWbemProviderInitSink

    <ComImport, InterfaceType(CShort(1)), TypeLibType(CShort(&H200)), Guid("DC12A680-737F-11CF-884D-00AA004B2E24")> _
    Friend Interface IWbemQualifierSet_DoNotMarshal

    Friend NotInheritable Class IWbemQualifierSetFreeThreaded
        Implements IDisposable

    <ComImport, Guid("9556DC99-828C-11CF-A37E-00AA003240C7"), InterfaceType(CShort(1)), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemServices

    <ComImport, InterfaceType(CShort(1)), Guid("9556DC99-828C-11CF-A37E-00AA003240C7"), TypeLibType(CShort(&H200))> _
    Friend Interface IWbemServices_Old

    <ComImport, Guid("B7B31DF9-D515-11D3-A11C-00105A1F515A"), InterfaceType(CShort(1))> _
    Friend Interface IWbemShutdown

    <ComImport, InterfaceType(CShort(1)), Guid("EB87E1BC-3233-11D2-AEC9-00C04FB68820")> _
    Friend Interface IWbemStatusCodeText

    <ComImport, InterfaceType(CShort(1)), TypeLibType(CShort(&H200)), Guid("E246107B-B06E-11D0-AD61-00C04FD8FDFF")> _
    Friend Interface IWbemUnboundObjectSink

    <ComImport, Guid("87A5AD68-A38A-43ef-ACA9-EFE910E5D24C"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
    Friend Interface IWmiEventSource

    <Guid("2FD73A3B-64B3-480D-AEE9-54469D77123E"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
    Friend Interface IWmiSec

    <Guid("2FD73A3B-64B3-480D-AEE9-54469D77123E"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
    Friend Interface IWmiSecAlternateForIUnknown

    <Guid("A9A8F102-71CC-4C72-BC16-48E2CC917ADC"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _
    Friend Interface IWmiSinkDemultiplexor

    <Serializable, DefaultMember("Item"), ToolboxItem(False)> _
    Public Class ManagementBaseObject
        Inherits Component
        Implements ICloneable, ISerializable

    <Serializable> _
    Public Class ManagementClass
        Inherits ManagementObject

    Friend Class ManagementClassGenerator

    Public NotInheritable Class ManagementDateTimeConverter

    Public MustInherit Class ManagementEventArgs
        Inherits EventArgs

    <ToolboxItem(False)> _
    Public Class ManagementEventWatcher
        Inherits Component

    <Serializable> _
    Public Class ManagementException
        Inherits SystemException

    <DefaultMember("Item")> _
    Public Class ManagementNamedValueCollection
        Inherits NameObjectCollectionBase

    <Serializable> _
    Public Class ManagementObject
        Inherits ManagementBaseObject
        Implements ICloneable

    Public Class ManagementObjectCollection
        Implements ICollection, IEnumerable, IDisposable

    <ToolboxItem(False)> _
    Public Class ManagementObjectSearcher
        Inherits Component

    Public Class ManagementOperationObserver

    <TypeConverter(GetType(ExpandableObjectConverter))> _
    Public MustInherit Class ManagementOptions
        Implements ICloneable

    <TypeConverter(GetType(ManagementPathConverter))> _
    Public Class ManagementPath
        Implements ICloneable

    Friend Class ManagementPathConverter
        Inherits ExpandableObjectConverter

    <TypeConverter(GetType(ManagementQueryConverter))> _
    Public MustInherit Class ManagementQuery
        Implements ICloneable

    Friend Class ManagementQueryConverter
        Inherits ExpandableObjectConverter

    <TypeConverter(GetType(ManagementScopeConverter))> _
    Public Class ManagementScope
        Implements ICloneable

    Friend Class ManagementScopeConverter
        Inherits ExpandableObjectConverter

    Public Enum ManagementStatus

    Friend Class MarshalWbemObject
        Implements ICustomMarshaler

    Public Class MethodData

    <DefaultMember("Item")> _
    Public Class MethodDataCollection
        Implements ICollection, IEnumerable

    <ComImport, TypeLibType(CShort(2)), ClassInterface(CShort(0)), Guid("6DAF9757-2E37-11D2-AEC9-00C04FB68820")> _
    Friend Class MofCompiler

    Friend Class MTAHelper

    Public Class ObjectGetOptions
        Inherits ManagementOptions

    Public Class ObjectPutEventArgs
        Inherits ManagementEventArgs

    Public Delegate Sub ObjectPutEventHandler(ByVal sender As Object, ByVal e As ObjectPutEventArgs)

    Public Class ObjectQuery
        Inherits ManagementQuery

    Public Class ObjectReadyEventArgs
        Inherits ManagementEventArgs

    Public Delegate Sub ObjectReadyEventHandler(ByVal sender As Object, ByVal e As ObjectReadyEventArgs)

    Public Class ProgressEventArgs
        Inherits ManagementEventArgs

    Public Delegate Sub ProgressEventHandler(ByVal sender As Object, ByVal e As ProgressEventArgs)

    Public Class PropertyData

    <DefaultMember("Item")> _
    Public Class PropertyDataCollection
        Implements ICollection, IEnumerable

    Public Class PutOptions
        Inherits ManagementOptions

    Public Enum PutType

    Public Class QualifierData

    <DefaultMember("Item")> _
    Public Class QualifierDataCollection
        Implements ICollection, IEnumerable

    Friend Enum QualifierType

    Friend NotInheritable Class RC

    Public Class RelatedObjectQuery
        Inherits WqlObjectQuery

    Public Class RelationshipQuery
        Inherits WqlObjectQuery

    Friend Class SecurityHandler

    Public Class SelectQuery
        Inherits WqlObjectQuery

    Friend Class SinkForEventQuery
        Implements IWmiEventSource

    Friend NotInheritable Class SR

    <AttributeUsage(AttributeTargets.All)> _
    Friend NotInheritable Class SRCategoryAttribute
        Inherits CategoryAttribute

    <AttributeUsage(AttributeTargets.All)> _
    Friend NotInheritable Class SRDescriptionAttribute
        Inherits DescriptionAttribute

    Public Class StoppedEventArgs
        Inherits ManagementEventArgs

    Public Delegate Sub StoppedEventHandler(ByVal sender As Object, ByVal e As StoppedEventArgs)

    Friend Enum tag_CIMTYPE_ENUMERATION

    Friend Enum tag_WBEM_BACKUP_RESTORE_FLAGS

    Friend Enum tag_WBEM_BATCH_TYPE

    Friend Enum tag_WBEM_CHANGE_FLAG_TYPE

    Friend Enum tag_WBEM_COMPARISON_FLAG

    Friend Enum tag_WBEM_COMPILER_OPTIONS

    Friend Enum tag_WBEM_CONDITION_FLAG_TYPE

    Friend Enum tag_WBEM_CONNECT_OPTIONS

    Friend Enum tag_WBEM_EXTRA_RETURN_CODES

    Friend Enum tag_WBEM_FLAVOR_TYPE

    Friend Enum tag_WBEM_GENERIC_FLAG_TYPE

    Friend Enum tag_WBEM_GENUS_TYPE

    Friend Enum tag_WBEM_GET_KEY_FLAGS

    Friend Enum tag_WBEM_GET_TEXT_FLAGS

    Friend Enum tag_WBEM_INFORMATION_FLAG_TYPE

    Friend Enum tag_WBEM_LIMITATION_FLAG_TYPE

    Friend Enum tag_WBEM_LOCKING

    Friend Enum tag_WBEM_PATH_CREATE_FLAG

    Friend Enum tag_WBEM_PATH_STATUS_FLAG

    Friend Enum tag_WBEM_PROVIDER_FLAGS

    Friend Enum tag_WBEM_PROVIDER_REQUIREMENTS_TYPE

    Friend Enum tag_WBEM_QUERY_FLAG_TYPE

    Friend Enum tag_WBEM_REFRESHER_FLAGS

    Friend Enum tag_WBEM_SECURITY_FLAGS

    Friend Enum tag_WBEM_SHUTDOWN_FLAGS

    Friend Enum tag_WBEM_STATUS_TYPE

    Friend Enum tag_WBEM_TEXT_FLAG_TYPE

    Friend Enum tag_WBEM_TIMEOUT_TYPE

    Friend Enum tag_WBEMSTATUS

    Friend Enum tag_WBEMSTATUS_FORMAT

    Friend Enum tag_WMI_OBJ_TEXT

    Friend Enum tag_WMIQ_LANGUAGE_FEATURES

    Friend Enum tag_WMIQ_RPNQ_FEATURE

    Public Enum TextFormat

    Friend Class ThreadDispatch

    <ComImport, TypeLibType(CShort(2)), ClassInterface(CShort(0)), Guid("49BD2028-1523-11D1-AD79-00C04FD8FDFF")> _
    Friend Class UnsecuredApartment

    Friend Class ValueTypeSafety

    <ComImport, TypeLibType(CShort(2)), Guid("C49E32C6-BC8B-11D2-85D4-00105A1F8304"), ClassInterface(CShort(0))> _
    Friend Class WbemBackupRestore

    <ComImport, TypeLibType(CShort(2)), ClassInterface(CShort(0)), Guid("9A653086-174F-11D2-B5F9-00104B703EFD")> _
    Friend Class WbemClassObject

    <ComImport, ClassInterface(CShort(0)), TypeLibType(CShort(&H202)), Guid("674B6698-EE92-11D0-AD71-00C04FD8FDFF")> _
    Friend Class WbemContext

    <ComImport, TypeLibType(CShort(2)), ClassInterface(CShort(0)), Guid("F5F75737-2843-4F22-933D-C76A97CDA62F")> _
    Friend Class WbemDecoupledBasicEventProvider

    <ComImport, ClassInterface(CShort(0)), Guid("4CFC7932-0F9D-4BEF-9C32-8EA2A6B56FCB"), TypeLibType(CShort(2))> _
    Friend Class WbemDecoupledRegistrar

    <ComImport, Guid("CF4CC405-E2C5-4DDD-B3CE-5E7582D8C9FA"), TypeLibType(CShort(&H202)), ClassInterface(CShort(0))> _
    Friend Class WbemDefPath

    Friend Class WbemErrorInfo

    <ComImport, Guid("4590F811-1D3A-11D0-891F-00AA004B2E24"), ClassInterface(CShort(0)), TypeLibType(CShort(&H202))> _
    Friend Class WbemLocator

    <ComImport, TypeLibType(CShort(&H202)), Guid("8D1C559D-84F0-4BB3-A7D5-56A7435A9BA6"), ClassInterface(CShort(0))> _
    Friend Class WbemObjectTextSrc

    <ComImport, Guid("EAC8A024-21E2-4523-AD73-A71A0AA2F56A"), ClassInterface(CShort(0)), TypeLibType(CShort(2))> _
    Friend Class WbemQuery

    <ComImport, ClassInterface(CShort(0)), Guid("EB87E1BD-3233-11D2-AEC9-00C04FB68820"), TypeLibType(CShort(2))> _
    Friend Class WbemStatusCodeText

    Friend Class WmiDelegateInvoker

    Friend Class WmiEventSink
        Implements IWmiEventSource

    Friend Class WmiEventState

    Friend Class WmiGetEventSink
        Inherits WmiEventSink

    Friend Enum WMIQ_ANALYSIS_TYPE

    Friend Enum WMIQ_ASSOCQ_FLAGS

    Friend Enum WMIQ_RPN_TOKEN_FLAGS

    <ComImport, Guid("A8F03BE3-EDB7-4972-821F-AF6F8EA34884")> _
    Friend Class WmiSec

    <ComImport, Guid("D2EAA715-DAC7-4771-AF5C-931611A1853C")> _
    Friend Class WmiSinkDemultiplexor

    Public Class WqlEventQuery
        Inherits EventQuery

    Public Class WqlObjectQuery
        Inherits ObjectQuery
End Namespace


Expand Types

Then just put it in bottom [Last code]
Code:
<AttributeUsage((AttributeTargets.Struct Or AttributeTargets.Class))> _
    Public Class InstrumentationClassAttribute
        Inherits Attribute

    Public Enum InstrumentationType

    Friend Class InstrumentedAssembly

    <AttributeUsage(AttributeTargets.Assembly)> _
    Public Class InstrumentedAttribute
        Inherits Attribute

    <AttributeUsage((AttributeTargets.Field Or (AttributeTargets.Property Or (AttributeTargets.Method Or (AttributeTargets.Struct Or AttributeTargets.Class)))))> _
    Public Class ManagedNameAttribute
        Inherits Attribute

    Public Class ManagementInstaller
        Inherits Installer

    Friend Class MetaDataInfo
        Implements IDisposable

    Friend Delegate Sub ProvisionFunction(ByVal o As Object)

    Friend Class ReferencesCollection

    Friend Class SchemaMapping

    Friend Class SchemaNaming

    Friend NotInheritable Class SecurityHelper

    Friend NotInheritable Class WMICapabilities
End Namespace

Coded by : Imports System.Net
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VB.Net Make a Real AntiVirus (AV) - Part 1 goranpilkic 27 29,951 08-25-2014, 12:43 AM
Last Post: dark_move
  [VB.NET] Animated Form Extend [SRC] Fragma 6 5,542 10-10-2013, 12:18 PM
Last Post: Saket
  [VB.NET] Determine If 32 Or 64 Bit Operating System. wchar_t 14 20,002 07-13-2013, 07:17 PM
Last Post: Varosion
  How To make an advanced Operating System in Visual Basic 2010 ? Mohamed Samir 9 12,442 01-15-2013, 09:30 PM
Last Post: Resistance
  [VB.NET]Console app Menu example (amortization calculator)[Source] KoBE 8 8,168 12-28-2012, 06:55 AM
Last Post: mouse719

Forum Jump:


Users browsing this thread: 1 Guest(s)