Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Taptiive/machineid-rs
/ functions
Functions
26 in github.com/Taptiive/machineid-rs
⨍
Functions
26
◇
Types & classes
8
↓ 35 callers
Method
add_component
Adds a component to the `IdBuilder` that will be hashed once you call the [`IdBuilder::build`] function. You can't add the same component twice. # E
src/lib.rs:188
↓ 11 callers
Method
to_string
(&self)
src/lib.rs:65
↓ 3 callers
Method
build
Joins every part together and returns a `Result` that may be the hashed HWID or a `HWIDError`. # Errors Returns [`Err`] if there is an error while r
src/lib.rs:163
↓ 2 callers
Function
get_file_content
(path: &str)
src/linux.rs:142
↓ 2 callers
Function
get_mac_addressof_interface
(interface_name: &str)
src/linux.rs:101
↓ 2 callers
Function
run_command
(command: &str)
src/linux.rs:85
↓ 1 callers
Function
file_token
(path: &str)
src/utils.rs:6
↓ 1 callers
Method
generate_hash
(&self, key: &[u8], text: String)
src/lib.rs:113
↓ 1 callers
Function
get_disk_id
()
src/linux.rs:75
↓ 1 callers
Function
get_hwid
()
src/linux.rs:150
↓ 1 callers
Function
get_mac_address
()
src/linux.rs:106
↓ 1 callers
Method
get_root
(self)
src/linux.rs:34
Method
add_all
Adds all possible components to the `IdBuilder`. # Examples ``` use machineid_rs::{IdBuilder, Encryption}; let mut builder = IdBuilder::new(Encrypt
src/lib.rs:225
Function
every_option_md5
()
src/lib.rs:294
Function
every_option_sha1
()
src/lib.rs:276
Function
every_option_sha256
()
src/lib.rs:258
Method
fmt
(&self, f: &mut Formatter<'_>)
src/errors.rs:67
Method
from
(e: WMIError)
src/errors.rs:19
Function
get_disk_id
()
src/windows.rs:44
Function
get_disk_id
()
src/macos.rs:74
Function
get_hwid
()
src/windows.rs:18
Function
get_hwid
()
src/macos.rs:7
Function
get_mac_address
()
src/windows.rs:56
Function
get_mac_address
()
src/macos.rs:43
Method
new
(reason: &str, message: &str)
src/errors.rs:73
Method
new
Makes a new IdBuilder with the selected Encryption # Examples ``` use machineid_rs::{IdBuilder, Encryption}; let mut builder = IdBuilder::new(Encry
src/lib.rs:245