Coder Social home page Coder Social logo

Allow getting server states. about smblibrary HOT 3 CLOSED

nvd05 avatar nvd05 commented on August 20, 2024
Allow getting server states.

from smblibrary.

Comments (3)

TalAloni avatar TalAloni commented on August 20, 2024

Hi,
those are values that are initialized by the caller, so I don't see any issue with the caller using some settings class and then use that to display the information.
Please understand that I have very little time to work on this library and I try to focus on bugfixes and high value changes.

from smblibrary.

nvd05 avatar nvd05 commented on August 20, 2024

Hi,
those are values that are initialized by the caller, so I don't see any issue with the caller using some settings class and then use that to display the information.
Please understand that I have very little time to work on this library and I try to focus on bugfixes and high value changes.

I don't like it when there are synchronizations in the code (in which case you say to use them). I don't like it, because in js it causes problems and not always everything works as it should. I know that you do not have much free time, but I immediately offer you solutions, and in my opinion: they are worth it.

from smblibrary.

nvd05 avatar nvd05 commented on August 20, 2024

User Code:

namespace SMBLibrary.Server
{
	public partial class SMBServer
	{
		public IPAddress ServerAddress => m_serverAddress; 
		public SMBTransportType Transport => m_transport; 
		public bool EnableSMB1 => m_enableSMB1; 
		public bool EnableSMB2 => m_enableSMB2; 
		public bool EnableSMB3 => m_enableSMB3; 
		public bool Listening => m_listening; 
		public DateTime StartTime => m_serverStartTime;
	}
}

from smblibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.