< Summary

Information
Class: Renci.SshNet.Common.AuthenticationPasswordChangeEventArgs
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\AuthenticationPasswordChangeEventArgs.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 25
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
.ctor(...)100%10%
get_NewPassword()100%10%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\AuthenticationPasswordChangeEventArgs.cs

#LineLine coverage
 1namespace Renci.SshNet.Common
 2{
 3    /// <summary>
 4    /// Provides data for <see cref="PasswordConnectionInfo.PasswordExpired"/> event.
 5    /// </summary>
 6    public class AuthenticationPasswordChangeEventArgs : AuthenticationEventArgs
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="AuthenticationPasswordChangeEventArgs"/> class.
 10        /// </summary>
 11        /// <param name="username">The username.</param>
 12        public AuthenticationPasswordChangeEventArgs(string username)
 013            : base(username)
 014        {
 015        }
 16
 17        /// <summary>
 18        /// Gets or sets the new password.
 19        /// </summary>
 20        /// <value>
 21        /// The new password.
 22        /// </value>
 023        public byte[] NewPassword { get; set; }
 24    }
 25}