TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kanhialal kk
NA
234
338.3k
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(System.Runtime.Remoting.Channels.IChannel)'
Jun 1 2011 1:21 AM
Hi...
Here is my prob"
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(System.Runtime.Remoting.Channels.IChannel)' is obsolete: Use System.Runtime.Remoting.ChannelServices.RegisterChannel(IChannel chnl, bool ensureSecurity) instead."
I am working on windows services in c#.. I have created a services application and I have used a class like bellow...
public class TCP
{
private TcpServerChannel channel2 = new TcpServerChannel(0x1F93);
public TCP()
{
ChannelServices.RegisterChannel((IChannel)this.channel2);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(ZEESHSOFT), "zeesh", (WellKnownObjectMode)WellKnownObjectMode.SingleCall);
}
}
on bold line showing warning while application is success and warning error is bellow..
Warning 1
'System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(System.Runtime.Remoting.Channels.IChannel)' is obsolete: 'Use System.Runtime.Remoting.ChannelServices.RegisterChannel(IChannel chnl, bool ensureSecurity) instead.'
please help me....
Reply
Answers (
3
)
directorysecurity.setaccesscontrol throws UnauthorizedAccessException.
how to save webcam captured pic?