Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

SystemConfigurationMBS.ComputerName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: Gets the current computer name.
Example:
dim s as new SystemConfigurationMBS
msgbox s.ComputerName
Notes: Returns "" on an error.

Feedback, Comments & Corrections

SystemConfigurationMBS.ComputerNameEncoding as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: The encoding of the computer name.

Feedback, Comments & Corrections

SystemConfigurationMBS.ConsoleUser as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: Gets the name of the currently logged-in user.
Example:
dim s as new SystemConfigurationMBS
msgbox s.ConsoleUser
Notes: Returns the user currently logged into the system; "" if no user is logged in or if an error was encountered.

Feedback, Comments & Corrections

SystemConfigurationMBS.ConsoleUserGID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: Gets the group ID of the currently logged-in user.
Notes: The group ID of the current console user.

Feedback, Comments & Corrections

SystemConfigurationMBS.ConsoleUserUID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: Gets the user ID of the currently logged-in user.
Notes: The user ID of the current console user.

Feedback, Comments & Corrections

SystemConfigurationMBS.LocalHostName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: Gets the current local host name.
Example:
dim s as new SystemConfigurationMBS
msgbox s.LocalHostName
Notes: Returns the current local host name; "" if the name has not been set or if an error was encountered.

Feedback, Comments & Corrections

SystemConfigurationMBS.Location as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: Gets the current location identifier.
Example:
dim s as new SystemConfigurationMBS
msgbox s.Location
Notes: Returns a string representing the current location identifier; "" if no location identifier has been defined or if an error was encountered.

Feedback, Comments & Corrections

SystemConfigurationMBS.MachineName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: The local machine name.

Feedback, Comments & Corrections

SystemConfigurationMBS.NetworkCheckReachabilityByAddress(ip as string, byref flags as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 4.2 Yes No No Yes, macOS only No
Function: Determines if the given network address is reachable using the current network configuration.
Notes:
address: The network address of the desired host.
flags: An integer that will be filled with a set of SCNetworkConnectionFlags detailing the reachability of the specified address.
Returns true if the network connection flags are valid; false if the status could not be determined.
(see the SCNetworkReachabilityMBS class for more details)

Feedback, Comments & Corrections

SystemConfigurationMBS.NetworkCheckReachabilityByName(nodename as string, byref flags as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 4.2 Yes No No Yes, macOS only No
Function: Determines if the given network host/node name is reachable using the current network configuration.
Notes:
nodename: The node name of the desired host.
flags: An integer that will be filled with a set of SCNetworkConnectionFlags detailing the reachability of the specified node name.
Returns true if the network connection flags are valid; false if the status could not be determined.
(see the SCNetworkReachabilityMBS class for more details)

Feedback, Comments & Corrections

SystemConfigurationMBS.NetworkInterfaceRefreshConfiguration(ifname as CFStringMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 4.2 Yes No No Yes, macOS only No
Function: Sends a notification to interested configuration agents to have them immediately retry their configuration over a particular network interface.
Notes:
This API must be invoked by root (uid == 0).
ifName: The BSD name of the network interface e.g. NewCFStringMBS("en0").
Returns true if the notification was sent; false otherwise.

Feedback, Comments & Corrections

SystemConfigurationMBS.ShortUserName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: The short user name.

Feedback, Comments & Corrections

SystemConfigurationMBS.UserName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method SystemConfiguration MBS MacCF Plugin 7.8 Yes No No Yes, macOS only No
Function: The user name.
Notes: The function UserName returns a string based on the read UID (RUID, as returned by getuid) of the calling process. This can result in unexpected behavior (that is, Name returning different results than ConsoleUser) for processes that manipulate their UID.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacCF Plugin.

The biggest plugin in space...




Links
MBS Xojo Plugins