wmi

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// import guard
	GoPackage = "dcom/wmi"
)

Functions

This section is empty.

Types

type Client

type Client interface {

	// DCOM common interfaces
	RemoteUnknown() iremunknown.RemoteUnknownClient
	RemoteUnknown2() iremunknown2.RemoteUnknown2Client

	// Package specific interfaces
	ObjectSink() iwbemobjectsink.ObjectSinkClient
	EnumClassObject() ienumwbemclassobject.EnumClassObjectClient
	CallResult() iwbemcallresult.CallResultClient
	Services() iwbemservices.ServicesClient
	BackupRestore() iwbembackuprestore.BackupRestoreClient
	BackupRestoreEx() iwbembackuprestoreex.BackupRestoreExClient
	RemoteRefresher() iwbemremoterefresher.RemoteRefresherClient
	RefreshingServices() iwbemrefreshingservices.RefreshingServicesClient
	WCOSmartEnum() iwbemwcosmartenum.WCOSmartEnumClient
	FetchSmartEnum() iwbemfetchsmartenum.FetchSmartEnumClient
	LoginClientID() iwbemloginclientid.LoginClientIDClient
	Level1Login() iwbemlevel1login.Level1LoginClient
	LoginHelper() iwbemloginhelper.LoginHelperClient
	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// Conn returns the client connection (unsafe)
	Conn() dcerpc.Conn

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) Client
}

dcom/wmi client set.

func NewClient

func NewClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (Client, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL