Smb

Frends.Smb.WriteFile / 2.5.0

Summary

Writes content to a file on an SMB share directly from the Process.

Typical use — delivering output to a file server that other systems or people read

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.5.02026-09-09
Fixed
  • Adjusted access permissions to prevent sharing violations for directories and added synchronous I/O flags to file creation.
2.4.02026-07-27
Added
  • Added Kerberos authentication support for SMB connections
    • New Connection.AuthenticationMode property with Ntlm (default) and Kerberos options
    • New Connection.KerberosServerName property for specifying the Kerberos SPN hostname when it differs from the TCP connection address
    • New Connection.KdcAddress property for explicit KDC address when DNS SRV discovery is unavailable
    • KerberosNetAuthenticationClient internally handles TGT acquisition, service ticket retrieval, and GSS-API token generation using the Kerberos.NET library
2.3.02026-07-20
Fixed
  • Optimized SMB file handling: fixed lingering locks and adjusted access permissions to prevent sharing violations.
2.2.02026-06-26
Changed
  • Username parsing: now accepts a username without a domain instead of throwing an error.
  • Server connection: removed manual DNS resolve; connects using the raw server address string.
2.1.02026-04-23
Fixed
  • Input parameters treated as normal string instead of PathString type.
2.0.02026-04-08
Added
  • New connection parameters that defined what servers Operating System.
  • Breaking Introduce PathString type that will represent paths with OS specific separators.
1.0.02025-10-31
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙