![]() ![]() Tells DCOM to choose the authentication level using its normal security blanket negotiation algorithm. Datagram transports always use kAuthenticationLevelPacket instead. Datagram transports use kAuthenticationLevelPaket instead.Īuthenticates the credentials of the client only when the client establishes a relationship with the server. shared method InitSecurity(remote as boolean) as booleanĪuthenticates only at the beginning of each remote procedure call when the server receives the request.shared method InitSecurity(AuthnLevel as Integer, ImpLevel as Integer) as boolean.method Query(QueryLanguage as string, QueryText as string) as boolean.method InitAuthentication(User as string, Domain as string, Password as string) as boolean.method ExecNotificationQueryAsync(QueryLanguage as string, QueryText as string) as boolean.method ConnectServer(NetworkResource as string, Username as string="", Password as string="", Locale as string="", Authority as string="") as boolean.In Windows 8.1 (or later) it looks like WindowsWMIMBS.InitSecurity(false) must be called at app.Constructor time as Xojo will do some things in background when opening first window which block our queries. MsgBox str(w.GetPropertyInteger( "ProcessorType")) // uint16 MsgBox str(w.GetPropertyInteger( "MaxClockSpeed")) // uint32 MsgBox w.GetPropertyString( "Name") // string If w.query( "WQL", "SELECT * FROM Win32_Processor") then ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |